Class ValueSource.ValueSourceSortField
- java.lang.Object
-
- org.apache.lucene.search.SortField
-
- org.apache.lucene.queries.function.ValueSource.ValueSourceSortField
-
- Enclosing class:
- ValueSource
class ValueSource.ValueSourceSortField extends SortField
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.lucene.search.SortField
SortField.Provider, SortField.Type
-
-
Field Summary
-
Fields inherited from class org.apache.lucene.search.SortField
FIELD_DOC, FIELD_SCORE, missingValue, STRING_FIRST, STRING_LAST
-
-
Constructor Summary
Constructors Constructor Description ValueSourceSortField(boolean reverse)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SortField
rewrite(IndexSearcher searcher)
Rewrites this SortField, returning a new SortField if a change is made.-
Methods inherited from class org.apache.lucene.search.SortField
equals, getBytesComparator, getCanUsePoints, getComparator, getComparatorSource, getField, getIndexSorter, getMissingValue, getReverse, getType, hashCode, needsScores, readType, setBytesComparator, setCanUsePoints, setMissingValue, toString
-
-
-
-
Method Detail
-
rewrite
public SortField rewrite(IndexSearcher searcher) throws java.io.IOException
Description copied from class:SortField
Rewrites this SortField, returning a new SortField if a change is made. Subclasses should override this define their rewriting behavior when this SortField is of typeSortField.Type.REWRITEABLE
-
-