Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

nuke outdated refs to Fieldable/Searchable/Searcher

Robert Muir9f91d12c4f82
diff --git a/lucene/core/src/java/org/apache/lucene/index/FieldInfo.java b/lucene/core/src/java/org/apache/lucene/index/FieldInfo.java
index 7e6247b189e..3c030612e89 100644
--- a/lucene/core/src/java/org/apache/lucene/index/FieldInfo.java
+++ b/lucene/core/src/java/org/apache/lucene/index/FieldInfo.java
@@ -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.
diff --git a/lucene/core/src/java/org/apache/lucene/search/FieldCacheImpl.java b/lucene/core/src/java/org/apache/lucene/search/FieldCacheImpl.java
index 15975459693..18f93f30fa9 100644
--- a/lucene/core/src/java/org/apache/lucene/search/FieldCacheImpl.java
+++ b/lucene/core/src/java/org/apache/lucene/search/FieldCacheImpl.java
@@ -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. */
diff --git a/lucene/core/src/java/org/apache/lucene/search/IndexSearcher.java b/lucene/core/src/java/org/apache/lucene/search/IndexSearcher.java
index 503b22f075c..b142697a064 100644
--- a/lucene/core/src/java/org/apache/lucene/search/IndexSearcher.java
+++ b/lucene/core/src/java/org/apache/lucene/search/IndexSearcher.java
@@ -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) {
diff --git a/lucene/core/src/test/org/apache/lucene/search/TestCustomSearcherSort.java b/lucene/core/src/test/org/apache/lucene/search/TestCustomSearcherSort.java
index a5404ff5ca3..39850c26f00 100644
--- a/lucene/core/src/test/org/apache/lucene/search/TestCustomSearcherSort.java
+++ b/lucene/core/src/test/org/apache/lucene/search/TestCustomSearcherSort.java
@@ -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 {