implements Searchable is redundant, as Searcher implements it

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150035 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Erik Hatcher 2003-09-16 20:06:32 +00:00
parent fecc0d27af
commit 063c173eba
2 changed files with 3 additions and 3 deletions

View File

@ -67,7 +67,7 @@ import org.apache.lucene.index.Term;
* <p>Applications usually need only call the inherited {@link #search(Query)}
* or {@link #search(Query,Filter)} methods.
*/
public class IndexSearcher extends Searcher implements Searchable {
public class IndexSearcher extends Searcher {
IndexReader reader;
/** Creates a searcher searching the index in the named directory. */

View File

@ -64,7 +64,7 @@ import org.apache.lucene.index.Term;
* <p>Applications usually need only call the inherited {@link #search(Query)}
* or {@link #search(Query,Filter)} methods.
*/
public class MultiSearcher extends Searcher implements Searchable {
public class MultiSearcher extends Searcher {
private Searchable[] searchables;
private int[] starts;
private int maxDoc = 0;
@ -194,7 +194,7 @@ public class MultiSearcher extends Searcher implements Searchable {
}
}
public Query rewrite(Query original) throws IOException {
Query[] queries = new Query[searchables.length];
for (int i = 0; i < searchables.length; i++) {