lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rm...@apache.org
Subject svn commit: r1384351 - in /lucene/dev/trunk/lucene/core/src: java/org/apache/lucene/index/ java/org/apache/lucene/search/ test/org/apache/lucene/search/
Date Thu, 13 Sep 2012 14:55:33 GMT
Author: rmuir
Date: Thu Sep 13 14:55:33 2012
New Revision: 1384351

URL: http://svn.apache.org/viewvc?rev=1384351&view=rev
Log:
nuke outdated refs to Fieldable/Searchable/Searcher

Modified:
    lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/index/FieldInfo.java
    lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/search/FieldCacheImpl.java
    lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/search/IndexSearcher.java
    lucene/dev/trunk/lucene/core/src/test/org/apache/lucene/search/TestCustomSearcherSort.java

Modified: lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/index/FieldInfo.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/index/FieldInfo.java?rev=1384351&r1=1384350&r2=1384351&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/index/FieldInfo.java (original)
+++ lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/index/FieldInfo.java Thu Sep 13
14:55:33 2012
@@ -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.

Modified: lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/search/FieldCacheImpl.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/search/FieldCacheImpl.java?rev=1384351&r1=1384350&r2=1384351&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/search/FieldCacheImpl.java (original)
+++ lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/search/FieldCacheImpl.java Thu
Sep 13 14:55:33 2012
@@ -286,7 +286,7 @@ class FieldCacheImpl implements FieldCac
 
   /** 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. */

Modified: lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/search/IndexSearcher.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/search/IndexSearcher.java?rev=1384351&r1=1384350&r2=1384351&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/search/IndexSearcher.java (original)
+++ lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/search/IndexSearcher.java Thu
Sep 13 14:55:33 2012
@@ -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) {

Modified: lucene/dev/trunk/lucene/core/src/test/org/apache/lucene/search/TestCustomSearcherSort.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/core/src/test/org/apache/lucene/search/TestCustomSearcherSort.java?rev=1384351&r1=1384350&r2=1384351&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/core/src/test/org/apache/lucene/search/TestCustomSearcherSort.java
(original)
+++ lucene/dev/trunk/lucene/core/src/test/org/apache/lucene/search/TestCustomSearcherSort.java
Thu Sep 13 14:55:33 2012
@@ -194,13 +194,6 @@ public class TestCustomSearcherSort exte
       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 exte
       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 {



Mime
View raw message