Searched refs:docID (Results 1 - 25 of 121) sorted by relevance

12345

/lucene-3.6.0/lucene/contrib/join/src/java/org/apache/lucene/search/join/
H A DRawTermFilter.java63 private int docID;
68 docID = td.doc();
70 docID = NO_MORE_DOCS;
72 return docID;
76 public int docID() {
77 return docID;
83 docID = td.doc();
85 docID = NO_MORE_DOCS;
87 return docID;
/lucene-3.6.0/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/feeds/
H A DSingleDocSource.java27 private int docID = 0; field in class:SingleDocSource
47 if (docID > 0 && !forever) {
50 return docID++;
69 docID = 0;
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/
H A DFormatPostingsDocsConsumer.java30 abstract FormatPostingsPositionsConsumer addDoc(int docID, int termDocFreq) throws IOException; argument
H A DFreqProxFieldMergeState.java48 int docID; field in class:FreqProxFieldMergeState
65 docID = 0;
94 docID = postings.lastDocIDs[currentTermID];
106 docID += code;
108 docID += code >>> 1;
115 assert docID != postings.lastDocIDs[currentTermID];
H A DStoredFieldsWriterPerThread.java44 doc.docID = docState.docID;
51 doc.docID = docState.docID;
H A DFormatPostingsDocsWriter.java79 FormatPostingsPositionsConsumer addDoc(int docID, int termDocFreq) throws IOException { argument
81 final int delta = docID - lastDocID;
83 if (docID < 0 || (df > 0 && delta <= 0))
84 throw new CorruptIndexException("docs out of order (" + docID + " <= " + lastDocID + " ) (out: " + out + ")");
92 assert docID < totalNumDocs: "docID=" + docID + " totalNumDocs=" + totalNumDocs;
94 lastDocID = docID;
H A DFreqProxTermsWriterPerField.java121 postings.lastDocIDs[termID] = docState.docID;
123 postings.lastDocCodes[termID] = docState.docID;
125 postings.lastDocCodes[termID] = docState.docID << 1;
145 if (docState.docID != postings.lastDocIDs[termID]) {
146 assert docState.docID > postings.lastDocIDs[termID];
148 postings.lastDocCodes[termID] = docState.docID - postings.lastDocIDs[termID];
149 postings.lastDocIDs[termID] = docState.docID;
153 if (docState.docID != postings.lastDocIDs[termID]) {
154 assert docState.docID > postings.lastDocIDs[termID];
168 postings.lastDocCodes[termID] = (docState.docID
[all...]
H A DDocumentsWriter.java117 private int nextDocID; // Next docID to be added
145 int docID; field in class:DocumentsWriter.DocState
163 * state that must be flushed synchronized "in docID
167 int docID; field in class:DocumentsWriter.DocWriter
285 // Buffer a specific docID for deletion. Currently only
560 // Apply delete-by-docID now (delete-byDocID only
731 state.docState.docID = nextDocID;
735 pendingDeletes.addTerm(delTerm, state.docState.docID);
796 skipDocWriter.docID = docState.docID;
[all...]
H A DTermVectorsTermsWriterPerThread.java47 doc.docID = docState.docID;
H A DStoredFieldsWriter.java96 void fill(int docID) throws IOException { argument
99 while(lastDocID < docID) {
109 fill(perDoc.docID);
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/
H A DDocIdSetIterator.java33 * {@link #docID()} it means there are no more docs in the iterator.
49 public abstract int docID(); method in class:DocIdSetIterator
83 * not to advance beyond their current {@link #docID()}.
H A DReqOptSumScorer.java57 public int docID() { method in class:ReqOptSumScorer
58 return reqScorer.docID();
68 int curDoc = reqScorer.docID();
74 int optScorerDoc = optScorer.docID();
H A DDisjunctionMaxScorer.java73 while (subScorers[0].docID() == doc) {
84 return doc = subScorers[0].docID();
88 public int docID() { method in class:DisjunctionMaxScorer
97 int doc = subScorers[0].docID();
107 if (root < size && subScorers[root].docID() == doc) {
119 while (subScorers[0].docID() < target) {
129 return doc = subScorers[0].docID();
144 int doc = scorer.docID();
149 int ldoc = lscorer.docID();
154 rdoc = rscorer.docID();
[all...]
H A DExactPhraseScorer.java60 private int docID = -1; field in class:ExactPhraseScorer
100 docID = DocIdSetIterator.NO_MORE_DOCS;
101 return docID;
114 docID = DocIdSetIterator.NO_MORE_DOCS;
115 return docID;
127 docID = DocIdSetIterator.NO_MORE_DOCS;
128 return docID;
137 docID = DocIdSetIterator.NO_MORE_DOCS;
138 return docID;
152 docID
222 public int docID() { method in class:ExactPhraseScorer
[all...]
H A DScoreCachingWrappingScorer.java57 int doc = scorer.docID();
67 public int docID() { method in class:ScoreCachingWrappingScorer
68 return scorer.docID();
H A DConjunctionScorer.java59 return o1.docID() - o2.docID();
96 int doc = scorers[scorers.length - 1].docID();
98 while ((firstScorer = scorers[first]).docID() < doc) {
109 } else if (scorers[(scorers.length - 1)].docID() < target) {
116 public int docID() { method in class:ConjunctionScorer
125 return lastDoc = scorers[scorers.length - 1].docID();
H A DDocIdSet.java35 public int docID() { return NO_MORE_DOCS; }
H A DReqExclScorer.java72 int exclDoc = exclDisi.docID();
73 int reqDoc = reqScorer.docID(); // may be excluded
93 public int docID() { method in class:ReqExclScorer
H A DFieldCacheDocIdSet.java60 public int docID() {
92 public int docID() {
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/
H A DTestStressAdvance.java63 for(int docID=0;docID<idToDocID.length;docID++) {
64 int id = Integer.parseInt(r.document(docID).get("id"));
66 aDocIDs.add(docID);
68 bDocIDs.add(docID);
99 final int docID;
107 docID = docs.doc();
109 docID = -1;
119 docID
[all...]
H A DTestLongPostings.java164 int docID = -1;
165 while(docID < Integer.MAX_VALUE) {
169 System.out.println("TEST: docID=" + docID + "; do next()");
172 int expected = docID+1;
191 docID = postings.doc();
193 System.out.println(" got docID=" + docID);
195 assertEquals(expected, docID);
211 if (docID
[all...]
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/
H A DTestStressAdvance.java62 for(int docID=0;docID<idToDocID.length;docID++) {
63 int id = Integer.parseInt(r.document(docID).get("id"));
65 aDocIDs.add(docID);
67 bDocIDs.add(docID);
98 final int docID;
106 docID = docs.doc();
108 docID = -1;
118 docID
[all...]
H A DTestLongPostings.java163 int docID = -1;
164 while(docID < Integer.MAX_VALUE) {
168 System.out.println("TEST: docID=" + docID + "; do next()");
171 int expected = docID+1;
190 docID = postings.doc();
192 System.out.println(" got docID=" + docID);
194 assertEquals(expected, docID);
210 if (docID
[all...]
/lucene-3.6.0/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/
H A DUpdateDocTask.java62 final String docID = doc.get(DocMaker.ID_FIELD);
63 if (docID == null) {
67 iw.updateDocument(new Term(DocMaker.ID_FIELD, docID), doc);
/lucene-3.6.0/solr/core/src/java/org/apache/solr/handler/component/
H A DFieldFacetStats.java80 String getTermText(int docID) { argument
81 return terms[termNum[docID]];
85 public boolean facet(int docID, String v) { argument
86 int term = termNum[docID];
109 public boolean facetTermNum(int docID, int statsTermNum) { argument
111 int term = termNum[docID];

Completed in 28 milliseconds

12345