mirror of https://github.com/apache/lucene.git
- Javadoc example fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150199 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9c3d6795f7
commit
a3d7da14b4
|
@ -64,7 +64,7 @@ public abstract class HitCollector {
|
|||
*
|
||||
* <P>If, for example, an application wished to collect all of the hits for a
|
||||
* query in a BitSet, then it might:<pre>
|
||||
* 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) {
|
||||
|
|
Loading…
Reference in New Issue