Interface SearchServiceInternal

  • All Known Implementing Classes:
    SearchServiceInternalImpl

    public interface SearchServiceInternal
    Provides access to Elasticsearch for authoring indexes
    Author:
    joseross
    • Method Detail

      • search

        SearchResult search​(String siteId,
                            List<String> allowedPaths,
                            SearchParams params)
                     throws ServiceLayerException
        Performs a search operation for a given site
        Parameters:
        siteId - the site id
        allowedPaths - list of paths that should be included in the results
        params - the search parameters
        Returns:
        the search results
        Throws:
        ServiceLayerException - if there is any error executing the search in Elasticsearch