Class CustomSearch

  • All Implemented Interfaces:
    ISearch

    public class CustomSearch
    extends AbstractSearch
    Represents a search against custom index.
    Since:
    7.17
    • Constructor Detail

      • CustomSearch

        public CustomSearch​(@NonNull SearchQuery query,
                            SearchSort sort)
        Constructs a search against custom indexes. The maximum number of results returned will be a system provided default.
        Parameters:
        query - the non-null query to perform against custom index
        sort - how to order the results of the query
        Since:
        7.20
      • CustomSearch

        public CustomSearch​(@NonNull SearchQuery query,
                            SearchSort sort,
                            int startOffset,
                            int limit)
        Constructs a search against custom indexes.
        Parameters:
        query - the non-null query to perform against custom index
        sort - how to order the results of the query
        startOffset - the zero-based offset of the first content result to return
        limit - the maximum number content results to return
        Since:
        7.20