T - Type of QueryResultData.R - Type of QueryResult.public interface SearcherApi<T extends QueryResultData<R>,R extends QueryResult>
| Modifier and Type | Method and Description |
|---|---|
T |
search(Criteria criteria)
Searches items based on the given criteria.
|
T |
search(String query)
Searches items based on the given raw query.
|
SearcherApi<T,R> |
withIndexName(String indexName)
Sets the index name to search for.
|
SearcherApi<T,R> |
withResultFilter(ResultFilter filter)
Sets the result filter.
|
SearcherApi<T,R> |
withTransformer(String transformer)
Sets the transformer.
|
SearcherApi<T,R> withResultFilter(ResultFilter filter)
filter - the ResultFilterSearcherApi<T,R> withIndexName(String indexName)
indexName - the index name.SearcherApi<T,R> withTransformer(String transformer)
transformer - the transformer.T search(Criteria criteria) throws QueryException
criteria - a SearchCriteria object.QueryExceptionT search(String query) throws QueryException
query - the raw query.QueryExceptionCopyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries