Searched refs:fieldname (Results 1 - 17 of 17) sorted by relevance

/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/
H A DFieldComparatorSource.java34 * @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 DShardDoc.java124 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 DQueryElevationComponent.java467 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 DQueryComponent.java436 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 DValueSource.java105 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 DRandomSortField.java113 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 DMissingStringLastComparatorSource.java46 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 DDistanceFieldComparatorSource.java55 public FieldComparator newComparator(String fieldname, int numHits, argument
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/search/
H A DTestElevationComparator.java139 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 DTestLocaleMethods.java92 public FieldComparator newComparator(String fieldname, int numHits, int sortPos, boolean reversed) throws IOException {
93 return new FieldComparator.StringComparatorLocale(numHits, fieldname, locale);
H A DJustCompileSearch.java257 public FieldComparator<?> newComparator(String fieldname, int numHits, argument
H A DTestSort.java427 // 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 DTestElevationComparator.java139 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 DTestLocaleMethods.java92 public FieldComparator newComparator(String fieldname, int numHits, int sortPos, boolean reversed) throws IOException {
93 return new FieldComparator.StringComparatorLocale(numHits, fieldname, locale);
H A DJustCompileSearch.java257 public FieldComparator newComparator(String fieldname, int numHits, argument
H A DTestSort.java422 // 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 DTestRemoteSort.java206 public FieldComparator newComparator(String fieldname, int numHits, int sortPos, boolean reversed) { argument

Completed in 97 milliseconds