lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r1137210 - /lucene/dev/trunk/lucene/src/java/org/apache/lucene/search/function/CustomScoreProvider.java
Date Sat, 18 Jun 2011 15:58:08 GMT
Author: mikemccand
Date: Sat Jun 18 15:58:07 2011
New Revision: 1137210

URL: http://svn.apache.org/viewvc?rev=1137210&view=rev
Log:
fix javadoc warnings

Modified:
    lucene/dev/trunk/lucene/src/java/org/apache/lucene/search/function/CustomScoreProvider.java

Modified: lucene/dev/trunk/lucene/src/java/org/apache/lucene/search/function/CustomScoreProvider.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/src/java/org/apache/lucene/search/function/CustomScoreProvider.java?rev=1137210&r1=1137209&r2=1137210&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/src/java/org/apache/lucene/search/function/CustomScoreProvider.java
(original)
+++ lucene/dev/trunk/lucene/src/java/org/apache/lucene/search/function/CustomScoreProvider.java
Sat Jun 18 15:58:07 2011
@@ -20,6 +20,7 @@ package org.apache.lucene.search.functio
 import java.io.IOException;
 
 import org.apache.lucene.index.IndexReader.AtomicReaderContext;
+import org.apache.lucene.index.IndexReader; // for javadocs
 import org.apache.lucene.search.Explanation;
 import org.apache.lucene.search.FieldCache; // for javadocs
 
@@ -28,7 +29,7 @@ import org.apache.lucene.search.FieldCac
  * {@link CustomScoreQuery#getCustomScoreProvider}, if you want
  * to modify the custom score calculation of a {@link CustomScoreQuery}.
  * <p>Since Lucene 2.9, queries operate on each segment of an index separately,
- * so the protected {@link #reader} field can be used to resolve doc IDs,
+ * so the protected {@link #context} field can be used to resolve doc IDs,
  * as the supplied <code>doc</code> ID is per-segment and without knowledge
  * of the IndexReader you cannot access the document or {@link FieldCache}.
  * 



Mime
View raw message