Searched defs:postings (Results 1 - 8 of 8) sorted by relevance

/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/
H A DFreqProxFieldMergeState.java29 /** Used by DocumentsWriter to merge the postings from
37 final FreqProxPostingsArray postings; field in class:FreqProxFieldMergeState
56 this.postings = (FreqProxPostingsArray) field.termsHashPerField.postingsArray;
67 final int textStart = postings.textStarts[currentTermID];
92 if (postings.lastDocCodes[currentTermID] != -1) {
94 docID = postings.lastDocIDs[currentTermID];
96 termFreq = postings.docFreqs[currentTermID];
97 postings.lastDocCodes[currentTermID] = -1;
115 assert docID != postings.lastDocIDs[currentTermID];
H A DSegmentMergeInfo.java31 private TermPositions postings; // use getPositions() field in class:SegmentMergeInfo
65 if (postings == null) {
66 postings = reader.termPositions();
68 return postings;
85 if (postings != null) {
86 postings.close();
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/
H A DPhraseScorer.java40 PhraseScorer(Weight weight, PhraseQuery.PostingsAndFreq[] postings, argument
51 if (postings.length > 0) {
52 min = new PhrasePositions(postings[0].postings, postings[0].position, 0, postings[0].terms);
55 for (int i = 1; i < postings.length; i++) {
56 PhrasePositions pp = new PhrasePositions(postings[i].postings, postings[
[all...]
H A DExactPhraseScorer.java63 ExactPhraseScorer(Weight weight, PhraseQuery.PostingsAndFreq[] postings, argument
69 chunkStates = new ChunkState[postings.length];
71 endMinus1 = postings.length-1;
73 for(int i=0;i<postings.length;i++) {
81 final boolean useAdvance = postings[i].docFreq > 5*postings[0].docFreq;
82 chunkStates[i] = new ChunkState(postings[i].postings, -postings[i].position, useAdvance);
83 if (i > 0 && !postings[
[all...]
H A DPhraseQuery.java123 final TermPositions postings; field in class:PhraseQuery.PostingsAndFreq
129 public PostingsAndFreq(TermPositions postings, int docFreq, int position, Term... terms) { argument
130 this.postings = postings;
H A DSloppyPhraseScorer.java45 SloppyPhraseScorer(Weight weight, PhraseQuery.PostingsAndFreq[] postings, Similarity similarity, argument
47 super(weight, postings, similarity, norms);
49 this.numPostings = postings==null ? 0 : postings.length;
50 pq = new PhraseQueue(postings.length);
289 * If there are repetitions, check if multi-term postings (MTP) are involved.<p>
300 * on the bipartite graph of postings and terms.
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/search/
H A DJustCompileSearch.java321 JustCompilePhraseScorer(Weight weight, PhraseQuery.PostingsAndFreq[] postings, argument
323 super(weight, postings, similarity, norms);
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/search/
H A DJustCompileSearch.java321 JustCompilePhraseScorer(Weight weight, PhraseQuery.PostingsAndFreq[] postings, argument
323 super(weight, postings, similarity, norms);

Completed in 20 milliseconds