mirror of https://github.com/apache/lucene.git
fix javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@784228 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2b60bb3cbc
commit
ad94a3d47a
|
@ -21,6 +21,7 @@ import java.io.IOException;
|
|||
|
||||
import org.apache.lucene.index.IndexReader;
|
||||
import org.apache.lucene.util.OpenBitSet;
|
||||
import org.apache.lucene.index.TermDocs; // for javadocs
|
||||
|
||||
/**
|
||||
* A {@link Filter} that only accepts documents whose single
|
||||
|
|
|
@ -84,7 +84,7 @@ public abstract class Scorer extends DocIdSetIterator {
|
|||
* {@link HitCollector#collect(int, float)}.
|
||||
* @param max Do not score documents past this.
|
||||
* @return true if more matching documents may remain.
|
||||
* @deprecated use {@link #score(Collector, int)} instead.
|
||||
* @deprecated use {@link #score(Collector, int, int)} instead.
|
||||
*/
|
||||
protected boolean score(HitCollector hc, int max) throws IOException {
|
||||
return score(new HitCollectorWrapper(hc), max, docID());
|
||||
|
|
|
@ -30,7 +30,7 @@ import org.apache.lucene.search.DocIdSetIterator;
|
|||
* {@link org.apache.lucene.store.IndexOutput}.
|
||||
* <p>
|
||||
* <b>NOTE:</b> this class assumes the stored integers are doc Ids (hence why it
|
||||
* extends {@link DocIdSet}). Therefore its {@link #iterator()} assumes {@value
|
||||
* extends {@link DocIdSet}). Therefore its {@link #iterator()} assumes {@link
|
||||
* DocIdSetIterator#NO_MORE_DOCS} can be used as sentinel. If you intent to use
|
||||
* this value, then make sure it's not used during search flow.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue