Interface LuceneSearchSortFactory

All Superinterfaces:
ExtendedSearchSortFactory<LuceneSearchSortFactory,LuceneSearchPredicateFactory>, SearchSortFactory

public interface LuceneSearchSortFactory extends ExtendedSearchSortFactory<LuceneSearchSortFactory,LuceneSearchPredicateFactory>
A factory for search sorts with some Lucene-specific methods.
  • Method Details

    • fromLuceneSortField

      SortThenStep fromLuceneSortField(SortField luceneSortField)
      Order elements by a given Lucene SortField.
      Parameters:
      luceneSortField - A Lucene sort field.
      Returns:
      A SortThenStep allowing the retrieval of the sort or the chaining of other sorts.
    • fromLuceneSort

      SortThenStep fromLuceneSort(Sort luceneSort)
      Order elements by a given Lucene Sort.
      Parameters:
      luceneSort - A Lucene sort.
      Returns:
      A SortThenStep allowing the retrieval of the sort or the chaining of other sorts.