Interface SearchProvider<Q,R>
- Type Parameters:
Q- The query object to send to the search engineR- The query response received from the search engine
public interface SearchProvider<Q,R>
Generic interface for searching on a particular index, such as Solr.
-
Method Summary
-
Method Details
-
search
Execute a search for the provided requested implementation-specific query and type.- Parameters:
query- The query to search byindexableType- The indexable type to search for- Returns:
- Response from search engine
- Throws:
SearchException- if an error occurs during search
-
search
Execute a search for the provided requested implementation-specific query and the collection.- Parameters:
query- The query to search bycollection- The collection to perform the search on.- Returns:
- Response from search engine
- Throws:
SearchException- if an error occurs during search
-