/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/ |
H A D | FieldComparatorSource.java | 40 public abstract FieldComparator<?> newComparator(String fieldname, int numHits, int sortPos, boolean reversed) argument
|
H A D | TopScoreDocCollector.java | 41 private InOrderTopScoreDocCollector(int numHits) { argument 42 super(numHits); 78 private InOrderPagingScoreDocCollector(ScoreDoc after, int numHits) { argument 79 super(numHits); 134 private OutOfOrderTopScoreDocCollector(int numHits) { argument 135 super(numHits); 173 private OutOfOrderPagingScoreDocCollector(ScoreDoc after, int numHits) { argument 174 super(numHits); 234 * <code>numHits</code>, and fill the array with sentinel 237 public static TopScoreDocCollector create(int numHits, boolea argument 251 create(int numHits, ScoreDoc after, boolean docsScoredInOrder) argument 274 TopScoreDocCollector(int numHits) argument [all...] |
H A D | SortField.java | 382 * @param numHits number of top hits the queue will store 389 public FieldComparator<?> getComparator(final int numHits, final int sortPos) throws IOException { argument 395 return new FieldComparator.StringComparatorLocale(numHits, field, locale); 400 return new FieldComparator.RelevanceComparator(numHits); 403 return new FieldComparator.DocComparator(numHits); 406 return new FieldComparator.IntComparator(numHits, field, parser, (Integer) missingValue); 409 return new FieldComparator.FloatComparator(numHits, field, parser, (Float) missingValue); 412 return new FieldComparator.LongComparator(numHits, field, parser, (Long) missingValue); 415 return new FieldComparator.DoubleComparator(numHits, field, parser, (Double) missingValue); 418 return new FieldComparator.ByteComparator(numHits, fiel [all...] |
H A D | TopFieldCollector.java | 53 int numHits, boolean fillFields) throws IOException { 54 super(queue, numHits, fillFields); 81 // Startup transient: queue hasn't gathered numHits yet 114 int numHits, boolean fillFields) throws IOException { 115 super(queue, numHits, fillFields); 133 // Startup transient: queue hasn't gathered numHits yet 161 int numHits, boolean fillFields) throws IOException { 162 super(queue, numHits, fillFields); 193 // Startup transient: queue hasn't gathered numHits yet 221 FieldValueHitQueue<Entry> queue, int numHits, boolea 52 OneComparatorNonScoringCollector(FieldValueHitQueue<Entry> queue, int numHits, boolean fillFields) argument 113 OutOfOrderOneComparatorNonScoringCollector(FieldValueHitQueue<Entry> queue, int numHits, boolean fillFields) argument 160 OneComparatorScoringNoMaxScoreCollector(FieldValueHitQueue<Entry> queue, int numHits, boolean fillFields) argument 220 OutOfOrderOneComparatorScoringNoMaxScoreCollector( FieldValueHitQueue<Entry> queue, int numHits, boolean fillFields) argument 274 OneComparatorScoringMaxScoreCollector(FieldValueHitQueue<Entry> queue, int numHits, boolean fillFields) argument 334 OutOfOrderOneComparatorScoringMaxScoreCollector(FieldValueHitQueue<Entry> queue, int numHits, boolean fillFields) argument 385 MultiComparatorNonScoringCollector(FieldValueHitQueue<Entry> queue, int numHits, boolean fillFields) argument 470 OutOfOrderMultiComparatorNonScoringCollector(FieldValueHitQueue<Entry> queue, int numHits, boolean fillFields) argument 539 MultiComparatorScoringMaxScoreCollector(FieldValueHitQueue<Entry> queue, int numHits, boolean fillFields) argument 618 OutOfOrderMultiComparatorScoringMaxScoreCollector(FieldValueHitQueue<Entry> queue, int numHits, boolean fillFields) argument 691 MultiComparatorScoringNoMaxScoreCollector(FieldValueHitQueue<Entry> queue, int numHits, boolean fillFields) argument 769 OutOfOrderMultiComparatorScoringNoMaxScoreCollector( FieldValueHitQueue<Entry> queue, int numHits, boolean fillFields) argument 852 final int numHits; field in class:TopFieldCollector 862 TopFieldCollector(PriorityQueue<Entry> pq, int numHits, boolean fillFields) argument 904 create(Sort sort, int numHits, boolean fillFields, boolean trackDocScores, boolean trackMaxScore, boolean docsScoredInOrder) argument [all...] |
H A D | FieldComparator.java | 44 * an int ranging from 0 to numHits-1. The {@link 218 ByteComparator(int numHits, String field, FieldCache.Parser parser, Byte missingValue) { argument 220 values = new byte[numHits]; 276 DocComparator(int numHits) { argument 277 docIDs = new int[numHits]; 324 DoubleComparator(int numHits, String field, FieldCache.Parser parser, Double missingValue) { argument 326 values = new double[numHits]; 398 FloatComparator(int numHits, String field, FieldCache.Parser parser, Float missingValue) { argument 400 values = new float[numHits]; 476 IntComparator(int numHits, Strin argument 558 LongComparator(int numHits, String field, FieldCache.Parser parser, Long missingValue) argument 639 RelevanceComparator(int numHits) argument 704 ShortComparator(int numHits, String field, FieldCache.Parser parser, Short missingValue) argument 766 StringComparatorLocale(int numHits, String field, Locale locale) argument 860 StringOrdValComparator(int numHits, String field, int sortPos, boolean reversed) argument 996 StringValComparator(int numHits, String field) argument [all...] |
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/ |
H A D | LuceneQueryOptimizer.java | 59 int numHits, 113 return searcher.search(query, filter, numHits); 57 optimize(BooleanQuery original, Searcher searcher, int numHits, Query[] queryOut, Filter[] filterOut ) argument
|
H A D | MissingStringLastComparatorSource.java | 46 public FieldComparator newComparator(String fieldname, int numHits, int sortPos, boolean reversed) throws IOException { argument 47 return new MissingLastOrdComparator(numHits, fieldname, sortPos, reversed, missingValueProxy); 73 public MissingLastOrdComparator(int numHits, String field, int sortPos, boolean reversed, String nullVal) { argument 74 ords = new int[numHits]; 75 values = new String[numHits]; 76 readerGen = new int[numHits];
|
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/search/ |
H A D | TestElevationComparator.java | 139 public FieldComparator<Integer> newComparator(final String fieldname, final int numHits, int sortPos, boolean reversed) throws IOException { argument 143 private final int[] values = new int[numHits];
|
H A D | TestWildcardRandom.java | 92 private void assertPatternHits(String pattern, int numHits) throws Exception { argument 96 assertEquals("Incorrect hits for pattern: " + pattern, numHits, docs.totalHits);
|
H A D | JustCompileSearch.java | 257 public FieldComparator<?> newComparator(String fieldname, int numHits, argument
|
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/search/ |
H A D | TestElevationComparator.java | 139 public FieldComparator newComparator(final String fieldname, final int numHits, int sortPos, boolean reversed) throws IOException { argument 143 private final int[] values = new int[numHits];
|
H A D | TestWildcardRandom.java | 92 private void assertPatternHits(String pattern, int numHits) throws Exception { argument 96 assertEquals("Incorrect hits for pattern: " + pattern, numHits, docs.totalHits);
|
H A D | JustCompileSearch.java | 257 public FieldComparator newComparator(String fieldname, int numHits, argument
|
/lucene-3.6.0/lucene/contrib/spatial/src/java/org/apache/lucene/spatial/tier/ |
H A D | DistanceFieldComparatorSource.java | 55 public FieldComparator newComparator(String fieldname, int numHits, argument 57 dsdlc = new DistanceScoreDocLookupComparator(numHits); 67 public DistanceScoreDocLookupComparator(int numHits) { argument 68 values = new double[numHits];
|
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/ |
H A D | TestLazyProxSkipping.java | 65 private void createIndex(int numHits) throws IOException { argument 79 if (i % (numDocs / numHits) == 0) { 111 private void performTest(int numHits) throws IOException { argument 112 createIndex(numHits); 116 assertEquals(numHits, hits.length); 120 assertTrue(this.seeksCounter <= numHits + 1);
|
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/ |
H A D | TestLazyProxSkipping.java | 65 private void createIndex(int numHits) throws IOException { argument 79 if (i % (numDocs / numHits) == 0) { 111 private void performTest(int numHits) throws IOException { argument 112 createIndex(numHits); 116 assertEquals(numHits, hits.length); 120 assertTrue(this.seeksCounter <= numHits + 1);
|
/lucene-3.6.0/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/ |
H A D | ReadTask.java | 109 final int numHits = numHits(); 110 if (numHits > 0) { 114 TopFieldCollector collector = TopFieldCollector.create(sort, numHits, 121 hits = searcher.search(q, numHits); 184 return TopScoreDocCollector.create(numHits(), true); 242 private int numHits; field in class:ReadTask 247 numHits = getRunData().getConfig().get("search.num.hits", DEFAULT_SEARCH_NUM_HITS); 256 public int numHits() { method in class:ReadTask 257 return numHits; [all...] |
/lucene-3.6.0/lucene/contrib/remote/src/test/org/apache/lucene/search/ |
H A D | TestRemoteSort.java | 165 MyFieldComparator(int numHits) { argument 166 slotValues = new int[numHits]; 206 public FieldComparator newComparator(String fieldname, int numHits, int sortPos, boolean reversed) { argument 207 return new MyFieldComparator(numHits);
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/handler/component/ |
H A D | QueryElevationComponent.java | 467 public FieldComparator<Integer> newComparator(final String fieldname, final int numHits, int sortPos, boolean reversed) throws IOException { argument 471 private final int[] values = new int[numHits];
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/function/ |
H A D | ValueSource.java | 105 public FieldComparator newComparator(String fieldname, int numHits, int sortPos, boolean reversed) throws IOException { 130 public FieldComparator newComparator(String fieldname, int numHits, argument 132 return new ValueSourceComparator(context, numHits); 147 ValueSourceComparator(Map fcontext, int numHits) { argument 149 values = new double[numHits];
|