Interface SearchSortFactoryExtension<T>

  • Type Parameters:
    T - The type of extended sort factories. Should generally extend SearchSortFactory.
    All Known Implementing Classes:
    ElasticsearchExtension, LuceneExtension

    public interface SearchSortFactoryExtension<T>
    An extension to the search sort DSL, allowing the use of non-standard sorts in a query.

    WARNING: while this type is API, because instances should be manipulated by users, all of its methods are considered SPIs and therefore should never be called or implemented directly by users. In short, users are only expected to get instances of this type from an API (SomeExtension.get()) and pass it to another API.

    See Also:
    SearchSortFactory.extension(SearchSortFactoryExtension), DelegatingSearchSortFactory