Interface IQueryExpander
public interface IQueryExpander
Query expanders are contributable componentes that are given the possibility
to pre-process queries passed to the data service.
Typical task is to expand query variables.
- Author:
- Jiri Banszel, POLARION SOFTWARE
-
Method Summary
Modifier and TypeMethodDescriptionexpandQuery
(String index, String query) Returns expanded version of the query, or the input query if there is nothing to do for this expander.sortResult
(String index, List<SubterraURI> uris, String sort) Sorts the result list of URIs according to sorting criteria.
-
Method Details
-
expandQuery
Returns expanded version of the query, or the input query if there is nothing to do for this expander.- Parameters:
index
- name of the index, this is usually the name of the prototypequery
- may benull
-
sortResult
Sorts the result list of URIs according to sorting criteria.- Parameters:
index
- name of the index, this is usually the name of the prototypeuris
- result of previous query, possibly not modifiablesort
- sort string- Returns:
- newly sorted result
- Since:
- 3.5.1
-