Searched defs:termDocs (Results 1 - 16 of 16) sorted by relevance

/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/
H A DTermScorer.java27 private final TermDocs termDocs; field in class:TermScorer
57 this.termDocs = td;
78 pointerMax = termDocs.read(docs, freqs); // refill buffers
82 termDocs.close(); // close stream
112 pointerMax = termDocs.read(docs, freqs); // refill buffer
116 termDocs.close(); // close stream
156 boolean result = termDocs.skipTo(target);
160 docs[pointer] = doc = termDocs.doc();
161 freqs[pointer] = freq = termDocs.freq();
H A DMatchAllDocsQuery.java48 final TermDocs termDocs; field in class:MatchAllDocsQuery.MatchAllScorer
56 this.termDocs = reader.termDocs(null);
68 return doc = termDocs.next() ? termDocs.doc() : NO_MORE_DOCS;
78 return doc = termDocs.skipTo(target) ? termDocs.doc() : NO_MORE_DOCS;
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/
H A DTestPerSegmentDeletes.java217 TermDocs termDocs = reader.termDocs();
218 termDocs.seek(term);
219 return toArray(termDocs);
222 public static int[] toArray(TermDocs termDocs) throws IOException { argument
224 while (termDocs.next()) {
225 docs.add(termDocs.doc());
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/
H A DTestPerSegmentDeletes.java216 TermDocs termDocs = reader.termDocs();
217 termDocs.seek(term);
218 return toArray(termDocs);
221 public static int[] toArray(TermDocs termDocs) throws IOException { argument
223 while (termDocs.next()) {
224 docs.add(termDocs.doc());
/lucene-3.6.0/lucene/contrib/instantiated/src/java/org/apache/lucene/store/instantiated/
H A DInstantiatedIndexReader.java321 public TermDocs termDocs() throws IOException { method in class:InstantiatedIndexReader
327 public TermDocs termDocs(Term term) throws IOException { method in class:InstantiatedIndexReader
331 InstantiatedTermDocs termDocs = new InstantiatedTermDocs(this);
332 termDocs.seek(term);
333 return termDocs;
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/
H A DMultiReader.java378 public TermDocs termDocs() throws IOException { method in class:MultiReader
382 return subReaders[0].termDocs();
389 public TermDocs termDocs(Term term) throws IOException { method in class:MultiReader
393 return subReaders[0].termDocs(term);
395 return super.termDocs(term);
H A DFilterIndexReader.java248 public TermDocs termDocs() throws IOException { method in class:FilterIndexReader
250 return in.termDocs();
254 public TermDocs termDocs(Term term) throws IOException { method in class:FilterIndexReader
256 return in.termDocs(term);
H A DParallelReader.java420 public TermDocs termDocs(Term term) throws IOException { method in class:ParallelReader
426 public TermDocs termDocs() throws IOException { method in class:ParallelReader
575 protected TermDocs termDocs; field in class:ParallelReader.ParallelTermDocs
580 termDocs = readers.isEmpty() ? null : readers.get(0).termDocs(null);
585 public int doc() { return termDocs.doc(); }
586 public int freq() { return termDocs.freq(); }
590 termDocs = reader!=null ? reader.termDocs(term) : null;
598 if (termDocs
[all...]
H A DIndexReader.java1303 public TermDocs termDocs(Term term) throws IOException { method in class:IndexReader
1305 TermDocs termDocs = termDocs();
1306 termDocs.seek(term);
1307 return termDocs;
1318 public abstract TermDocs termDocs() throws IOException; method in class:IndexReader
1408 TermDocs docs = termDocs(term);
H A DSegmentReader.java501 public TermDocs termDocs(Term term) throws IOException { method in class:SegmentReader
505 return super.termDocs(term);
525 public TermDocs termDocs() throws IOException { method in class:SegmentReader
H A DDirectoryReader.java712 public TermDocs termDocs() throws IOException { method in class:DirectoryReader
716 return subReaders[0].termDocs();
723 public TermDocs termDocs(Term term) throws IOException { method in class:DirectoryReader
727 return subReaders[0].termDocs(term);
729 return super.termDocs(term);
1219 current = termDocs(pointer++);
1240 current = termDocs(pointer++);
1272 current = termDocs(pointer++);
1278 private TermDocs termDocs(int i) throws IOException { method in class:DirectoryReader.MultiTermDocs
1281 result = readerTermDocs[i] = termDocs(reader
1292 protected TermDocs termDocs(IndexReader reader) method in class:DirectoryReader.MultiTermDocs
1311 protected TermDocs termDocs(IndexReader reader) throws IOException { method in class:DirectoryReader.MultiTermPositions
[all...]
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/function/
H A DValueSourceQuery.java130 private final TermDocs termDocs; field in class:ValueSourceQuery.ValueSourceScorer
139 termDocs = reader.termDocs(null);
144 return doc = termDocs.next() ? termDocs.doc() : NO_MORE_DOCS;
154 return doc = termDocs.skipTo(target) ? termDocs.doc() : NO_MORE_DOCS;
160 return qWeight * vals.floatVal(termDocs.doc());
/lucene-3.6.0/lucene/contrib/misc/src/java/org/apache/lucene/index/
H A DIndexSorter.java238 public TermDocs termDocs() throws IOException { method in class:IndexSorter.SortingReader
/lucene-3.6.0/solr/core/src/java/org/apache/solr/request/
H A DUnInvertedField.java200 tdState.tdocs = te.termDocs;
901 protected TermDocs termDocs; field in class:NumberedTermEnum
919 if (termDocs==null) termDocs = reader.termDocs(t);
920 else termDocs.seek(t);
921 return termDocs;
/lucene-3.6.0/lucene/contrib/memory/src/java/org/apache/lucene/index/memory/
H A DMemoryIndex.java935 public TermDocs termDocs() { method in class:MemoryIndex.MemoryIndexReader
936 if (DEBUG) System.err.println("MemoryIndexReader.termDocs");
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/
H A DSolrIndexReader.java312 public TermDocs termDocs() throws IOException { method in class:SolrIndexReader
314 return in.termDocs();
318 public TermDocs termDocs(Term term) throws IOException { method in class:SolrIndexReader
320 return in.termDocs(term);

Completed in 105 milliseconds