From a3d7da14b40087eabed0241ada83bd67352e54e2 Mon Sep 17 00:00:00 2001 From: Otis Gospodnetic Date: Thu, 12 Feb 2004 18:38:19 +0000 Subject: [PATCH] - Javadoc example fix git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150199 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/lucene/search/HitCollector.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/apache/lucene/search/HitCollector.java b/src/java/org/apache/lucene/search/HitCollector.java index 3dedf79e7e4..9521bd0a987 100644 --- a/src/java/org/apache/lucene/search/HitCollector.java +++ b/src/java/org/apache/lucene/search/HitCollector.java @@ -64,7 +64,7 @@ public abstract class HitCollector { * *

If, for example, an application wished to collect all of the hits for a * query in a BitSet, then it might:

-   *   Searcher = new IndexSearcher(indexReader);
+   *   Searcher searcher = new IndexSearcher(indexReader);
    *   final BitSet bits = new BitSet(indexReader.maxDoc());
    *   searcher.search(query, new HitCollector() {
    *       public void collect(int doc, float score) {