Interface SearchFacade<ITEM,​STATE extends SearchStateData>

    • Method Detail

      • search

        SearchPageData<ITEM> search​(STATE searchState,
                                    PageableData pageableData)
        Searches for the ITEM's based on the search state. The query object allows more complex queries using facet selection. The SearchStateData must have been obtained from the results of a call to #textSearch(String).
        Parameters:
        searchState - the search query object
        pageableData - the page to return
        Returns:
        the search results
      • autocomplete

        java.util.List<AutocompleteSuggestionData> autocomplete​(STATE searchState)
        Get the auto complete suggestions for the provided input.
        Parameters:
        searchState - the search query object
        Returns:
        a list of suggested search terms