lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From uschind...@apache.org
Subject svn commit: r834421 - /lucene/java/trunk/src/java/org/apache/lucene/search/Searcher.java
Date Tue, 10 Nov 2009 10:49:00 GMT
Author: uschindler
Date: Tue Nov 10 10:49:00 2009
New Revision: 834421

URL: http://svn.apache.org/viewvc?rev=834421&view=rev
Log:
add missing method (but defined by interface) to abstract class to make @Override work

Modified:
    lucene/java/trunk/src/java/org/apache/lucene/search/Searcher.java

Modified: lucene/java/trunk/src/java/org/apache/lucene/search/Searcher.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/search/Searcher.java?rev=834421&r1=834420&r2=834421&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/search/Searcher.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/search/Searcher.java Tue Nov 10 10:49:00
2009
@@ -22,6 +22,7 @@
 import org.apache.lucene.document.Document;
 import org.apache.lucene.index.CorruptIndexException;
 import org.apache.lucene.index.Term;
+import org.apache.lucene.document.FieldSelector;
 
 /**
  * An abstract base class for search implementations. Implements the main search
@@ -161,6 +162,7 @@
   abstract public int maxDoc() throws IOException;
   abstract public TopDocs search(Weight weight, Filter filter, int n) throws IOException;
   abstract public Document doc(int i) throws CorruptIndexException, IOException;
+  abstract public Document doc(int docid, FieldSelector fieldSelector) throws CorruptIndexException,
IOException;
   abstract public Query rewrite(Query query) throws IOException;
   abstract public Explanation explain(Weight weight, int doc) throws IOException;
   abstract public TopFieldDocs search(Weight weight, Filter filter, int n, Sort sort) throws
IOException;



Mime
View raw message