Searched refs:nextDoc (Results 1 - 25 of 122) sorted by relevance

12345

/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/
H A DDocIterator.java44 public int nextDoc(); method in interface:DocIterator
47 * Returns the score for the document just returned by <code>nextDoc()</code>
H A DBitDocSet.java63 return nextDoc();
70 public int nextDoc() {
86 private int pos = iter.nextDoc();
92 return nextDoc();
99 public int nextDoc() {
101 pos=iter.nextDoc();
190 while (iter.hasNext()) newbits.clear(iter.nextDoc());
202 while (iter.hasNext()) newbits.set(iter.nextDoc());
H A DDocSetBase.java44 if (i1.nextDoc() != i2.nextDoc()) return false;
76 bits.set(iter.nextDoc());
156 public int nextDoc() throws IOException {
H A DDocSlice.java106 return nextDoc();
116 public int nextDoc() {
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/
H A DDocIdSetIterator.java32 * When returned by {@link #nextDoc()}, {@link #advance(int)} and
40 * <li>-1 or {@link #NO_MORE_DOCS} if {@link #nextDoc()} or
61 public abstract int nextDoc() throws IOException; method in class:DocIdSetIterator
74 * while ((doc = nextDoc()) &lt; target) {
H A DFilteredDocIdSetIterator.java58 public int nextDoc() throws IOException { method in class:FilteredDocIdSetIterator
59 while ((doc = _innerIter.nextDoc()) != NO_MORE_DOCS) {
74 while ((doc = _innerIter.nextDoc()) != NO_MORE_DOCS) {
H A DReqOptSumScorer.java47 public int nextDoc() throws IOException { method in class:ReqOptSumScorer
48 return reqScorer.nextDoc();
62 * Initially invalid, until {@link #nextDoc()} is called the first time.
H A DScoreCachingWrappingScorer.java72 public int nextDoc() throws IOException { method in class:ScoreCachingWrappingScorer
73 return scorer.nextDoc();
H A DDocIdSet.java37 public int nextDoc() throws IOException { return NO_MORE_DOCS; }
H A DReqExclScorer.java45 public int nextDoc() throws IOException { method in class:ReqExclScorer
49 doc = reqScorer.nextDoc();
87 } while ((reqDoc = reqScorer.nextDoc()) != NO_MORE_DOCS);
98 * Initially invalid, until {@link #nextDoc()} is called the first time.
H A DDisjunctionSumScorer.java102 if (se.nextDoc() != NO_MORE_DOCS) {
114 while (nextDoc() != NO_MORE_DOCS) {
128 // firstDocID is ignored since nextDoc() sets 'currentDoc'
132 if (nextDoc() == NO_MORE_DOCS) {
140 public int nextDoc() throws IOException { method in class:DisjunctionSumScorer
192 * Initially invalid, until {@link #nextDoc()} is called the first time.
203 * Initially invalid, until {@link #nextDoc()} is called the first time.
H A DFieldCacheDocIdSet.java65 public int nextDoc() {
97 public int nextDoc() throws IOException {
H A DConjunctionScorer.java42 if (scorers[i].nextDoc() == NO_MORE_DOCS) {
121 public int nextDoc() throws IOException { method in class:ConjunctionScorer
127 scorers[(scorers.length - 1)].nextDoc();
H A DScorer.java89 while ((doc = nextDoc()) != NO_MORE_DOCS) {
96 * Note, <code>firstDocID</code> is added to ensure that {@link #nextDoc()}
110 * The first document ID (ensures {@link #nextDoc()} is called before
119 doc = nextDoc();
125 * Initially invalid, until {@link #nextDoc()} or {@link #advance(int)}
H A DBooleanScorer2.java136 public int nextDoc() throws IOException { method in class:BooleanScorer2.SingleMatchScorer
137 return scorer.nextDoc();
280 while ((doc = countingSumScorer.nextDoc()) != NO_MORE_DOCS) {
291 doc = countingSumScorer.nextDoc();
302 public int nextDoc() throws IOException { method in class:BooleanScorer2
303 return doc = countingSumScorer.nextDoc();
/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/facet/search/
H A DScoredDocIdCollector.java68 private int nextDoc;
70 public int getDocID() { return nextDoc; }
75 nextDoc = docIdsIter.nextDoc();
76 return nextDoc != DocIdSetIterator.NO_MORE_DOCS;
80 nextDoc = DocIdSetIterator.NO_MORE_DOCS;
130 private int nextDoc;
133 public int getDocID() { return nextDoc; }
138 nextDoc = docIdsIter.nextDoc();
[all...]
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/util/
H A DOpenBitSetDISI.java54 while ((doc = disi.nextDoc()) < size) {
86 while ((doc = disi.nextDoc()) < size) {
100 while ((doc = disi.nextDoc()) < size) {
H A DDocIdBitSet.java67 public int nextDoc() { method in class:DocIdBitSet.DocIdBitSetIterator
/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/facet/util/
H A DScoredDocIdsUtils.java83 while ((doc = it.nextDoc()) != DocIdSetIterator.NO_MORE_DOCS) {
142 public int nextDoc() throws IOException {
197 return docIterator.nextDoc() != DocIdSetIterator.NO_MORE_DOCS;
269 public int nextDoc() throws IOException {
284 return iter.nextDoc() != DocIdSetIterator.NO_MORE_DOCS;
345 return nextDoc();
354 public int nextDoc() throws IOException {
373 return iter.nextDoc() != DocIdSetIterator.NO_MORE_DOCS;
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/function/
H A DValueSourceScorer.java64 public int nextDoc() throws IOException { method in class:ValueSourceScorer
76 return nextDoc();
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/search/
H A DTestDocIdSet.java52 public int nextDoc() throws IOException {
59 while (nextDoc() < target) {}
79 while((doc = iter.nextDoc()) != DocIdSetIterator.NO_MORE_DOCS) {
H A DTestScoreCachingWrappingScorer.java45 @Override public int nextDoc() throws IOException { method in class:TestScoreCachingWrappingScorer.SimpleScorer
105 while ((doc = s.nextDoc()) != DocIdSetIterator.NO_MORE_DOCS) {
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/
H A DFreqProxFieldMergeState.java76 boolean result = nextDoc();
90 public boolean nextDoc() throws IOException { method in class:FreqProxFieldMergeState
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/search/
H A DTestScoreCachingWrappingScorer.java45 @Override public int nextDoc() throws IOException { method in class:TestScoreCachingWrappingScorer.SimpleScorer
105 while ((doc = s.nextDoc()) != DocIdSetIterator.NO_MORE_DOCS) {
/lucene-3.6.0/solr/core/src/test/org/apache/solr/search/
H A DTestDocSet.java55 docs[i] = iter.nextDoc();
64 docs[i] = iter.nextDoc();
84 arr[i] = iter.nextDoc();
131 assertEquals(i1.nextDoc(), i2.nextDoc());
381 int da = ia.nextDoc();
382 int db = ib.nextDoc();
396 da = ia.nextDoc();
397 db = ib.nextDoc();

Completed in 5750 milliseconds

12345