/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/ |
H A D | AbstractAllTermDocs.java | 31 protected int maxDoc; field in class:AbstractAllTermDocs 34 protected AbstractAllTermDocs(int maxDoc) { argument 35 this.maxDoc = maxDoc; 65 while (i < length && doc < maxDoc) { 78 while (doc < maxDoc) {
|
H A D | AllTermDocs.java | 27 super(parent.maxDoc());
|
H A D | SegmentMergeInfo.java | 49 int maxDoc = reader.maxDoc(); 50 docMap = new int[maxDoc]; 52 for (int i = 0; i < maxDoc; i++) {
|
H A D | SegmentMerger.java | 243 final int maxDoc = reader.maxDoc(); 246 for (int j = 0; j < maxDoc;) { 258 if (j >= maxDoc) break; 271 for (int j = 0; j < maxDoc; j++) { 290 final int maxDoc = reader.maxDoc(); 294 while (docCount < maxDoc) { 295 int len = Math.min(MAX_RAW_MERGE_DOCS, maxDoc - docCount); 302 for (; docCount < maxDoc; docCoun [all...] |
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/ |
H A D | DocSetCollector.java | 34 final int maxDoc; field in class:DocSetCollector 43 public DocSetCollector(int smallSetSize, int maxDoc) { argument 45 this.maxDoc = maxDoc; 64 if (bits==null) bits = new OpenBitSet(maxDoc);
|
H A D | DocSetDelegateCollector.java | 33 public DocSetDelegateCollector(int smallSetSize, int maxDoc, Collector collector) { argument 34 super(smallSetSize, maxDoc); 55 if (bits==null) bits = new OpenBitSet(maxDoc);
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/function/ |
H A D | ValueSourceScorer.java | 30 protected final int maxDoc; field in class:ValueSourceScorer 37 this.maxDoc = reader.maxDoc(); 67 if (doc >= maxDoc) return doc = NO_MORE_DOCS; 86 if (doc >= maxDoc) return false;
|
H A D | ScaleFloatFunction.java | 56 int maxDoc = reader.maxDoc(); 62 if (maxDoc>0) { 71 for (int i=0; i<maxDoc; i++) {
|
/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/facet/util/ |
H A D | ScoredDocIdsUtils.java | 51 final int maxDoc = reader.maxDoc(); 59 complement = new OpenBitSetDISI(docIdSet.iterator(), maxDoc); 62 complement.flip(0, maxDoc); 67 return createScoredDocIds(complement, maxDoc); 175 * The returned set contains the range of [0 .. reader.maxDoc ) doc ids 187 public static final ScoredDocIDs createScoredDocIds(final DocIdSet docIdSet, final int maxDoc) { argument 214 openBitSetDISI = new OpenBitSetDISI(docIdSet.iterator(), maxDoc); 231 final int maxDoc; field in class:ScoredDocIdsUtils.AllDocsScoredDocIDs 234 this.maxDoc 315 final int maxDoc; field in class:ScoredDocIdsUtils.AllLiveDocsScoredDocIDs [all...] |
/lucene-3.6.0/lucene/contrib/instantiated/src/java/org/apache/lucene/store/instantiated/ |
H A D | InstantiatedAllTermDocs.java | 27 super(reader.maxDoc());
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/ |
H A D | FieldCacheDocIdSet.java | 55 final int maxDoc = reader.maxDoc(); 68 if (doc >= maxDoc) { 77 for(doc=target; doc<maxDoc; doc++) {
|
H A D | FieldCacheImpl.java | 336 final int maxDoc = reader.maxDoc(); 337 final byte[] retArray = new byte[maxDoc]; 353 docsWithField = new FixedBitSet(maxDoc); 402 final int maxDoc = reader.maxDoc(); 403 final short[] retArray = new short[maxDoc]; 419 docsWithField = new FixedBitSet(maxDoc); 439 final int maxDoc = reader.maxDoc(); [all...] |
H A D | MultiSearcher.java | 56 private final int maxDoc; // document count field in class:MultiSearcher.CachedDfSource 58 public CachedDfSource(Map<Term,Integer> dfMap, int maxDoc, Similarity similarity) { argument 60 this.maxDoc = maxDoc; 86 public int maxDoc() { method in class:MultiSearcher.CachedDfSource 87 return maxDoc; 137 private int maxDoc = 0; field in class:MultiSearcher 145 starts[i] = maxDoc; 146 maxDoc += searchables[i].maxDoc(); // comput 202 public int maxDoc() throws IOException { method in class:MultiSearcher [all...] |
/lucene-3.6.0/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/ |
H A D | DeleteByPercentTask.java | 33 * maxDoc(). This means if you delete 50%, and then delete 71 int maxDoc = r.maxDoc(); 74 int numToDelete = ((int) (maxDoc * percent)) - r.numDeletedDocs(); 77 numToDelete = (int) (maxDoc * percent);
|
/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/facet/search/ |
H A D | ScoredDocIdCollector.java | 45 public NonScoringDocIdCollector(int maxDoc) { argument 46 super(maxDoc); 103 public ScoringDocIdCollector(int maxDoc) { argument 104 super(maxDoc); 105 scores = new float[maxDoc]; 174 * @param maxDoc the number of documents that are expected to be collected. 176 * be thrown. Usually you should pass {@link IndexReader#maxDoc()} of 182 public static ScoredDocIdCollector create(int maxDoc, boolean enableScoring) { argument 183 return enableScoring ? new ScoringDocIdCollector(maxDoc) 184 : new NonScoringDocIdCollector(maxDoc); 187 ScoredDocIdCollector(int maxDoc) argument [all...] |
/lucene-3.6.0/lucene/contrib/pruning/src/java/org/apache/lucene/index/pruning/ |
H A D | RIDFTermPruningPolicy.java | 51 double maxDoc; field in class:RIDFTermPruningPolicy 64 maxDoc = in.maxDoc(); 71 idf = - Math.log((double)in.docFreq(t) / maxDoc); 80 ridf = idf + Math.log(1 - Math.pow(Math.E, - totalFreq / maxDoc));
|
/lucene-3.6.0/lucene/contrib/misc/src/java/org/apache/lucene/index/ |
H A D | MultiPassIndexSplitter.java | 89 int maxDoc = input.maxDoc(); 90 int partLen = maxDoc / numParts; 103 for (int j = hi; j < maxDoc; j++) { 109 for (int j = 0; j < maxDoc; j++) { 224 dels = new FixedBitSet(in.maxDoc()); 226 oldDels = new FixedBitSet(in.maxDoc()); 227 for (int i = 0; i < in.maxDoc(); i++) { 236 return in.maxDoc() - dels.cardinality(); 245 dels = new FixedBitSet(in.maxDoc()); [all...] |
/lucene-3.6.0/lucene/contrib/queries/src/java/org/apache/lucene/search/ |
H A D | ChainedFilter.java | 136 result = new OpenBitSetDISI(getDISI(chain[index[0]], reader), reader.maxDoc()); 141 result = new OpenBitSetDISI(getDISI(chain[index[0]], reader), reader.maxDoc()); 142 result.flip(0,reader.maxDoc()); // NOTE: may set bits for deleted docs. 147 result = new OpenBitSetDISI(reader.maxDoc()); 178 return finalResult(result, reader.maxDoc()); 198 return finalResult(result, reader.maxDoc());
|
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/search/ |
H A D | TestFilteredSearch.java | 105 int maxDoc = 0; 108 docBasePerSub.put(sub, maxDoc); 109 maxDoc += sub.maxDoc(); 115 final FixedBitSet set = new FixedBitSet(reader.maxDoc()); 117 final int limit = docBase+reader.maxDoc();
|
H A D | SingleDocTestFilter.java | 35 BitSet bits = new BitSet(reader.maxDoc());
|
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/search/ |
H A D | TestFilteredSearch.java | 105 int maxDoc = 0; 108 docBasePerSub.put(sub, maxDoc); 109 maxDoc += sub.maxDoc(); 115 final FixedBitSet set = new FixedBitSet(reader.maxDoc()); 117 final int limit = docBase+reader.maxDoc();
|
H A D | SingleDocTestFilter.java | 35 BitSet bits = new BitSet(reader.maxDoc());
|
/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/facet/search/cache/ |
H A D | CategoryListData.java | 65 final int maxDoc = reader.maxDoc(); 66 int[][][]dpf = new int[maxDoc][][]; 72 for (int doc=0; doc<maxDoc; doc++) {
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/grouping/ |
H A D | CommandHandler.java | 163 int maxDoc = searcher.maxDoc(); 164 long[] bits = termAllGroupHeadsCollector.retrieveGroupHeads(maxDoc).getBits(); 169 int maxDoc = searcher.maxDoc(); 172 docSetCollector = new DocSetCollector(maxDoc >> 6, maxDoc); 175 docSetCollector = new DocSetDelegateCollector(maxDoc >> 6, maxDoc, wrappedCollectors);
|
/lucene-3.6.0/solr/core/src/test/org/apache/solr/search/ |
H A D | TestDocSet.java | 182 public DocSet getRandomDocSet(int n, int maxDoc) { argument 183 OpenBitSet obs = new OpenBitSet(maxDoc); 187 int idx = rand.nextInt(maxDoc); 207 public DocSet[] getRandomSets(int nSets, int minSetSize, int maxSetSize, int maxDoc) { argument 215 sets[i] = getRandomDocSet(sz,maxDoc); 231 for (int maxDoc : maxDocs) { 233 DocSet[] sets = getRandomHashSets(nSets,maxSetsize, maxDoc); 240 System.out.println("maxDoc="+maxDoc+"\tcollisions="+(cend-cstart)); 262 int maxDoc 337 dummyIndexReader(final int maxDoc) argument 363 dummyMultiReader(int nSeg, int maxDoc) argument [all...] |