/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/ |
H A D | FieldComparatorSource.java | 34 * @param fieldname 40 public abstract FieldComparator<?> newComparator(String fieldname, int numHits, int sortPos, boolean reversed) argument
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/handler/component/ |
H A D | ShardDoc.java | 124 String fieldname = fields[i].getField(); 125 comparators[i] = getCachedComparator(fieldname, fields[i] 129 this.fields[i] = new SortField(fieldname, fields[i].getLocale(), 132 this.fields[i] = new SortField(fieldname, fields[i].getType(), 136 //System.out.println("%%%%%%%%%%%%%%%%%% got "+fields[i].getType() +" for "+ fieldname +" fields[i].getReverse(): "+fields[i].getReverse()); 173 Comparator getCachedComparator(String fieldname, int type, Locale locale, FieldComparatorSource factory) { argument 177 comparator = comparatorScore(fieldname); 181 comparator = comparatorStringLocale(fieldname, locale); 183 comparator = comparatorNatural(fieldname); 187 comparator = comparatorMissingStringLast(fieldname); [all...] |
H A D | QueryElevationComponent.java | 467 public FieldComparator<Integer> newComparator(final String fieldname, final int numHits, int sortPos, boolean reversed) throws IOException { argument 502 idIndex = FieldCache.DEFAULT.getStringIndex(reader, fieldname);
|
H A D | QueryComponent.java | 436 String fieldname = sortField.getField(); 437 FieldType ft = fieldname==null ? null : req.getSchema().getFieldTypeNoEx(fieldname); 480 sortVals.add(fieldname, vals);
|
/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 { 106 throw new SolrException(SolrException.ErrorCode.SERVER_ERROR, "Unweighted use of sort " + fieldname); 130 public FieldComparator newComparator(String fieldname, int numHits, argument
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/schema/ |
H A D | RandomSortField.java | 113 public FieldComparator<Integer> newComparator(final String fieldname, final int numHits, int sortPos, boolean reversed) throws IOException { 141 seed = getSeed(fieldname, reader);
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/ |
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);
|
/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
|
/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 174 idIndex = FieldCache.DEFAULT.getStringIndex(reader, fieldname);
|
H A D | TestLocaleMethods.java | 92 public FieldComparator newComparator(String fieldname, int numHits, int sortPos, boolean reversed) throws IOException { 93 return new FieldComparator.StringComparatorLocale(numHits, fieldname, locale);
|
H A D | JustCompileSearch.java | 257 public FieldComparator<?> newComparator(String fieldname, int numHits, argument
|
H A D | TestSort.java | 427 // since tests explicilty uses different parsers on the same fieldname 556 public FieldComparator<Integer> newComparator(String fieldname, int numHits, int sortPos, boolean reversed) {
|
/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 174 idIndex = FieldCache.DEFAULT.getStringIndex(reader, fieldname);
|
H A D | TestLocaleMethods.java | 92 public FieldComparator newComparator(String fieldname, int numHits, int sortPos, boolean reversed) throws IOException { 93 return new FieldComparator.StringComparatorLocale(numHits, fieldname, locale);
|
H A D | JustCompileSearch.java | 257 public FieldComparator newComparator(String fieldname, int numHits, argument
|
H A D | TestSort.java | 422 // since tests explicilty uses different parsers on the same fieldname 551 public FieldComparator newComparator(String fieldname, int numHits, int sortPos, boolean reversed) {
|
/lucene-3.6.0/lucene/contrib/remote/src/test/org/apache/lucene/search/ |
H A D | TestRemoteSort.java | 206 public FieldComparator newComparator(String fieldname, int numHits, int sortPos, boolean reversed) { argument
|