Interface PagedFlexibleSearchService

  • All Known Implementing Classes:
    DefaultPagedFlexibleSearchService

    @Deprecated(since="6.6")
    public interface PagedFlexibleSearchService
    Deprecated.
    Since 6.6. Use PaginatedFlexibleSearchService instead
    The PagedFlexibleSearchService interface supports executing flexible search queries returning paginated results. The current page, page size, and sort are specified using the PageableData parameter. The results are returned in a parametrized SearchPageData result which includes the search results for the requested page, the pagination data, and the available sort options.
    • Method Detail

      • search

        <T> SearchPageData<T> search​(FlexibleSearchQuery searchQuery,
                                     PageableData pageableData)
        Deprecated.
        Searches according to a flexible search query and pagination data
        Parameters:
        searchQuery - the flexible search query
        pageableData - the object containing pagination data
        Returns:
        an instance of SearchPageData containing the search results with sort and pagination data
      • search

        <T> SearchPageData<T> search​(java.lang.String query,
                                     java.util.Map<java.lang.String,​?> queryParams,
                                     PageableData pageableData)
        Deprecated.
        Searches according to a query string and pagination data
        Parameters:
        query - the query string
        queryParams - the query parameters
        pageableData - the object containing pagination data
        Returns:
        an instance of SearchPageData containing the search results with sort and pagination data
      • search

        <T> SearchPageData<T> search​(java.util.List<SortQueryData> sortQueries,
                                     java.lang.String defaultSortCode,
                                     java.util.Map<java.lang.String,​?> queryParams,
                                     PageableData pageableData)
        Deprecated.
        Searches according to a sort query and pagination data
        Parameters:
        sortQueries - the sort queries
        defaultSortCode - the default sort code
        queryParams - the query parameters
        pageableData - the object containing pagination data
        Returns:
        an instance of SearchPageData containing the search results with sort and pagination data