Interface MultiSortableCustomFieldSearcher
- All Superinterfaces:
FieldSortsCustomFieldSearcher
- All Known Implementing Classes:
CascadingSelectSearcher
@PublicSpi
@Deprecated(since="10.4",
forRemoval=true)
public interface MultiSortableCustomFieldSearcher
extends FieldSortsCustomFieldSearcher
Deprecated, for removal: This API element is subject to removal in a future version.
A custom field searcher will implement this interface if the custom field can be sorted but sorting requires multiple Lucene
SortField.
It is useful for hierarchical custom fields like CascadingSelectCFType that store parent-child relationship and wish to be sorted by both fields.
If a custom field wishes to sort itself, it can use the much slower method SortableCustomField.
- Since:
- 10.4
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetFieldSorts(CustomField customField, FieldSort.Order order) Deprecated, for removal: This API element is subject to removal in a future version.Get the index field sorts for the provided custom fieldgetSorters(CustomField customField) Deprecated, for removal: This API element is subject to removal in a future version.since 10.4, usegetFieldSorts(CustomField, FieldSort.Order)instead
-
Method Details
-
getSorters
@Deprecated(since="10.4", forRemoval=true) Iterable<LuceneFieldSorter> getSorters(CustomField customField) Deprecated, for removal: This API element is subject to removal in a future version.since 10.4, usegetFieldSorts(CustomField, FieldSort.Order)insteadReturns a list ofLuceneFieldSorterthat can be used to sort the values of the custom field.- Parameters:
customField- the custom field to be sorted- Returns:
- a list of
LuceneFieldSorterthat can be used to sort the values of the custom field
-
getFieldSorts
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:FieldSortsCustomFieldSearcherGet the index field sorts for the provided custom field- Specified by:
getFieldSortsin interfaceFieldSortsCustomFieldSearcher- Returns:
- the index field sorts for the provided custom field
-
FieldSortsCustomFieldSearcherinstead