@PublicSpi
public interface NaturallyOrderedCustomFieldSearcher
Modifier and Type | Method and Description |
---|---|
String |
getSortField(CustomField customField)
Return the name of the Lucene field to use for ordering.
|
org.apache.lucene.search.SortField.Type |
getSortFieldType()
Returns the
type to use when sorting on the values of this custom field. |
String getSortField(CustomField customField)
customField
- The custom field to be searchedorg.apache.lucene.search.SortField.Type getSortFieldType()
type
to use when sorting on the values of this custom field.
This also necessitates adding NumericDocValues to documents for numeric and date data types,
and SortedDocValues for string types at indexing time.Copyright © 2002-2021 Atlassian. All Rights Reserved.