add missing method (but defined by interface) to abstract class to make @Override work

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@834421 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Uwe Schindler 2009-11-10 10:49:00 +00:00
parent b756112999
commit 21e83894ae
1 changed files with 2 additions and 0 deletions

View File

@ -22,6 +22,7 @@ import java.io.IOException;
import org.apache.lucene.document.Document; import org.apache.lucene.document.Document;
import org.apache.lucene.index.CorruptIndexException; import org.apache.lucene.index.CorruptIndexException;
import org.apache.lucene.index.Term; import org.apache.lucene.index.Term;
import org.apache.lucene.document.FieldSelector;
/** /**
* An abstract base class for search implementations. Implements the main search * An abstract base class for search implementations. Implements the main search
@ -161,6 +162,7 @@ public abstract class Searcher implements Searchable {
abstract public int maxDoc() throws IOException; abstract public int maxDoc() throws IOException;
abstract public TopDocs search(Weight weight, Filter filter, int n) 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 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 Query rewrite(Query query) throws IOException;
abstract public Explanation explain(Weight weight, int doc) 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; abstract public TopFieldDocs search(Weight weight, Filter filter, int n, Sort sort) throws IOException;