/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/ |
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);
|
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);
|
/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 | MultiReader.java | 39 private final int maxDoc; field in class:MultiReader 78 int maxDoc = 0; 81 starts[i] = maxDoc; 82 maxDoc += reader.maxDoc(); // compute maxDocs 87 this.maxDoc = starts[subReaders.length] = maxDoc; 242 public int maxDoc() { method in class:MultiReader 244 return maxDoc; 309 bytes = new byte[maxDoc()]; [all...] |
H A D | FilterIndexReader.java | 178 public int maxDoc() { method in class:FilterIndexReader 180 return in.maxDoc();
|
H A D | ParallelReader.java | 54 private int maxDoc; field in class:ParallelReader 104 * of {@link IndexReader#maxDoc()} 112 this.maxDoc = reader.maxDoc(); 117 if (reader.maxDoc() != maxDoc) // check compatibility 119 ("All readers must have same maxDoc: "+maxDoc+"!="+reader.maxDoc()); 257 public int maxDoc() { method in class:ParallelReader [all...] |
H A D | IndexReader.java | 1113 public abstract int maxDoc(); method in class:IndexReader 1117 return maxDoc() - numDocs(); 1135 if (n < 0 || n >= maxDoc()) { 1136 throw new IllegalArgumentException("docID must be >= 0 and < maxDoc=" + maxDoc() + " (got docID=" + n + ")");
|
/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/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/grouping/src/java/org/apache/lucene/search/grouping/ |
H A D | AbstractAllGroupHeadsCollector.java | 45 * @param maxDoc The maxDoc of the top level {@link IndexReader}. 48 public FixedBitSet retrieveGroupHeads(int maxDoc) { argument 49 FixedBitSet bitSet = new FixedBitSet(maxDoc);
|
/lucene-3.6.0/lucene/contrib/remote/src/java/org/apache/lucene/search/ |
H A D | RemoteSearchable.java | 69 public int maxDoc() throws IOException { method in class:RemoteSearchable 70 return local.maxDoc();
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/ |
H A D | Searchable.java | 93 * @see org.apache.lucene.index.IndexReader#maxDoc() 95 int maxDoc() throws IOException; method in interface:Searchable
|
H A D | Searcher.java | 203 abstract public int maxDoc() throws IOException; method in class:Searcher
|
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...] |
H A D | IndexSearcher.java | 193 int maxDoc = 0; 195 docStarts[i] = maxDoc; 196 maxDoc += subReaders[i].maxDoc(); 225 * @see org.apache.lucene.index.IndexReader#maxDoc() 228 public int maxDoc() { method in class:IndexSearcher 229 return reader.maxDoc(); 439 int limit = reader.maxDoc(); 509 int limit = reader.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 | FunctionQuery.java | 113 final int maxDoc; field in class:FunctionQuery.AllScorer 124 this.maxDoc = reader.maxDoc(); 142 if (doc>=maxDoc) { 164 if (doc>=maxDoc) {
|
/lucene-3.6.0/lucene/contrib/grouping/src/test/org/apache/lucene/search/grouping/ |
H A D | TermAllGroupHeadsCollectorTest.java | 104 int maxDoc = indexSearcher.maxDoc(); 110 assertTrue(openBitSetContains(new int[]{2, 3, 5, 7}, c1.retrieveGroupHeads(maxDoc), maxDoc)); 115 assertTrue(openBitSetContains(new int[]{2, 3, 4}, c2.retrieveGroupHeads(maxDoc), maxDoc)); 120 assertTrue(openBitSetContains(new int[]{1, 5}, c3.retrieveGroupHeads(maxDoc), maxDoc)); 127 assertTrue(openBitSetContains(new int[]{2, 3, 5, 7}, c4.retrieveGroupHeads(maxDoc), maxDoc)); 360 openBitSetContains(int[] expectedDocs, FixedBitSet actual, 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/instantiated/src/java/org/apache/lucene/store/instantiated/ |
H A D | InstantiatedIndexReader.java | 133 public int maxDoc() { method in class:InstantiatedIndexReader 160 uncommittedDeletedDocuments = new BitVector(maxDoc());
|
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/index/ |
H A D | RandomIndexWriter.java | 179 public int maxDoc() { method in class:RandomIndexWriter 180 return w.maxDoc();
|
/lucene-3.6.0/lucene/backwards/src/test-framework/java/org/apache/lucene/index/ |
H A D | RandomIndexWriter.java | 175 public int maxDoc() { method in class:RandomIndexWriter 176 return w.maxDoc();
|
/lucene-3.6.0/solr/core/src/test/org/apache/solr/ |
H A D | TestGroupingSearch.java | 807 Doc d1 = o1.maxDoc; 808 Doc d2 = o2.maxDoc; 859 public Doc maxDoc; // the document highest according to the "sort" param field in class:TestGroupingSearch.Grp 865 maxDoc = arr.length > 0 ? arr[0] : null;
|
/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...] |
/lucene-3.6.0/lucene/contrib/memory/src/java/org/apache/lucene/index/memory/ |
H A D | MemoryIndex.java | 1122 public int maxDoc() { method in class:MemoryIndex.MemoryIndexReader 1123 if (DEBUG) System.err.println("MemoryIndexReader.maxDoc");
|