From 351562bfabfa69296bf4ca1f83fefea5a5669148 Mon Sep 17 00:00:00 2001 From: Michael McCandless Date: Sat, 18 Jun 2011 15:58:07 +0000 Subject: [PATCH] fix javadoc warnings git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1137210 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/lucene/search/function/CustomScoreProvider.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lucene/src/java/org/apache/lucene/search/function/CustomScoreProvider.java b/lucene/src/java/org/apache/lucene/search/function/CustomScoreProvider.java index e956707afe9..c80422f3550 100644 --- a/lucene/src/java/org/apache/lucene/search/function/CustomScoreProvider.java +++ b/lucene/src/java/org/apache/lucene/search/function/CustomScoreProvider.java @@ -20,6 +20,7 @@ package org.apache.lucene.search.function; 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.FieldCache; // for javadocs * {@link CustomScoreQuery#getCustomScoreProvider}, if you want * to modify the custom score calculation of a {@link CustomScoreQuery}. *

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 doc ID is per-segment and without knowledge * of the IndexReader you cannot access the document or {@link FieldCache}. *