Searched defs:freqs (Results 1 - 17 of 17) sorted by relevance

/lucene-3.6.0/lucene/contrib/spellchecker/src/java/org/apache/lucene/search/suggest/
H A DBufferingTermFreqIteratorWrapper.java34 protected long[] freqs = new long[1]; field in class:BufferingTermFreqIteratorWrapper
43 if (freqIndex >= freqs.length) {
44 freqs = ArrayUtil.grow(freqs, freqs.length+1);
46 freqs[freqIndex++] = source.weight();
52 return freqs[curPos];
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/
H A DAbstractAllTermDocs.java62 public int read(int[] docs, int[] freqs) throws IOException { argument
68 freqs[i] = 1;
H A DTermDocs.java57 * frequencies are stored in <i>freqs</i>. The <i>freqs</i> array must be as
62 int read(int[] docs, int[] freqs) throws IOException; argument
H A DSegmentTermDocs.java144 public int read(final int[] docs, final int[] freqs) argument
148 return readNoTf(docs, freqs, length);
163 freqs[i] = freq;
171 private final int readNoTf(final int[] docs, final int[] freqs, final int length) throws IOException { argument
180 // Hardware freq to 1 when term freqs were not
182 freqs[i] = 1;
H A DSegmentTermPositions.java112 public final int read(final int[] docs, final int[] freqs) { argument
H A DTermVectorsTermsWriterPerField.java149 final int freq = postings.freqs[termID];
226 postings.freqs[termID] = 1;
250 postings.freqs[termID]++;
278 freqs = new int[size];
283 int[] freqs; // How many times this term occurred in the current doc field in class:TermVectorsTermsWriterPerField.TermVectorsPostingsArray
299 System.arraycopy(freqs, 0, to.freqs, 0, size);
H A DFilterIndexReader.java54 public int read(int[] docs, int[] freqs) throws IOException { argument
55 return in.read(docs, freqs);
H A DParallelReader.java604 public int read(final int[] docs, final int[] freqs) throws IOException { argument
608 return termDocs.read(docs, freqs);
H A DDirectoryReader.java705 int total = 0; // sum freqs in segments
1227 public int read(final int[] docs, final int[] freqs) throws IOException { argument
1245 int end = current.read(docs, freqs);
/lucene-3.6.0/lucene/contrib/instantiated/src/java/org/apache/lucene/store/instantiated/
H A DInstantiatedTermDocs.java77 public int read(int[] docs, int[] freqs) { argument
84 freqs[i] = freq();
/lucene-3.6.0/lucene/contrib/pruning/src/java/org/apache/lucene/index/pruning/
H A DTFTermPruningPolicy.java106 int[] freqs, TermFreqVector tfv)
120 if (freqs[i] < termThr) {
105 pruneTermVectorTerms(int docNumber, String field, String[] terms, int[] freqs, TermFreqVector tfv) argument
H A DTermPruningPolicy.java162 * @param freqs array of term frequencies
170 String[] terms, int[] freqs, TermFreqVector v) throws IOException;
169 pruneTermVectorTerms(int docNumber, String field, String[] terms, int[] freqs, TermFreqVector v) argument
H A DCarmelUniformTermPruningPolicy.java161 int[] freqs, TermFreqVector tfv) throws IOException {
160 pruneTermVectorTerms(int docNumber, String field, String[] terms, int[] freqs, TermFreqVector tfv) argument
H A DRIDFTermPruningPolicy.java107 int[] freqs, TermFreqVector v) throws IOException {
106 pruneTermVectorTerms(int docNumber, String field, String[] terms, int[] freqs, TermFreqVector v) argument
H A DCarmelTopKTermPruningPolicy.java217 int[] freqs, TermFreqVector tfv) throws IOException {
216 pruneTermVectorTerms(int docNumber, String field, String[] terms, int[] freqs, TermFreqVector tfv) argument
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/
H A DTermScorer.java34 private final int[] freqs = new int[32]; // buffered term freqs field in class:TermScorer
78 pointerMax = termDocs.read(docs, freqs); // refill buffers
88 freq = freqs[pointer];
112 pointerMax = termDocs.read(docs, freqs); // refill buffer
121 freq = freqs[pointer];
150 freq = freqs[pointer];
161 freqs[pointer] = freq = termDocs.freq();
/lucene-3.6.0/lucene/contrib/misc/src/java/org/apache/lucene/index/
H A DIndexSorter.java148 public int read(int[] docs, int[] freqs) { argument

Completed in 3753 milliseconds