mirror of https://github.com/apache/lucene.git
nuke outdated refs to Fieldable/Searchable/Searcher
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384351 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5d32662e99
commit
9f91d12c4f
|
@ -23,8 +23,8 @@ import java.util.Map;
|
|||
import org.apache.lucene.index.DocValues.Type;
|
||||
|
||||
/**
|
||||
* Access to the Fieldable Info file that describes document fields and whether or
|
||||
* not they are indexed. Each segment has a separate Fieldable Info file. Objects
|
||||
* Access to the Field Info file that describes document fields and whether or
|
||||
* not they are indexed. Each segment has a separate Field Info file. Objects
|
||||
* of this class are thread-safe for multiple readers, but only one thread can
|
||||
* be adding documents at a time, with no other reader or writer threads
|
||||
* accessing this object.
|
||||
|
|
|
@ -286,7 +286,7 @@ class FieldCacheImpl implements FieldCache {
|
|||
|
||||
/** Expert: Every composite-key in the internal cache is of this type. */
|
||||
static class Entry {
|
||||
final String field; // which Fieldable
|
||||
final String field; // which Field
|
||||
final Object custom; // which custom comparator or parser
|
||||
|
||||
/** Creates one of these objects for a custom comparator/parser. */
|
||||
|
|
|
@ -196,7 +196,7 @@ public class IndexSearcher {
|
|||
return reader.document(docID, fieldsToLoad);
|
||||
}
|
||||
|
||||
/** Expert: Set the Similarity implementation used by this Searcher.
|
||||
/** Expert: Set the Similarity implementation used by this IndexSearcher.
|
||||
*
|
||||
*/
|
||||
public void setSimilarity(Similarity similarity) {
|
||||
|
|
|
@ -194,13 +194,6 @@ public class TestCustomSearcherSort extends LuceneTestCase {
|
|||
this.switcher = switcher;
|
||||
}
|
||||
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
*
|
||||
* @see
|
||||
* org.apache.lucene.search.Searchable#search(org.apache.lucene.search.Query
|
||||
* , org.apache.lucene.search.Filter, int, org.apache.lucene.search.Sort)
|
||||
*/
|
||||
@Override
|
||||
public TopFieldDocs search(Query query, Filter filter, int nDocs, Sort sort)
|
||||
throws IOException {
|
||||
|
@ -211,13 +204,6 @@ public class TestCustomSearcherSort extends LuceneTestCase {
|
|||
return super.search(bq, filter, nDocs, sort);
|
||||
}
|
||||
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
*
|
||||
* @see
|
||||
* org.apache.lucene.search.Searchable#search(org.apache.lucene.search.Query
|
||||
* , org.apache.lucene.search.Filter, int)
|
||||
*/
|
||||
@Override
|
||||
public TopDocs search(Query query, Filter filter, int nDocs)
|
||||
throws IOException {
|
||||
|
|
Loading…
Reference in New Issue