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 TypeMethodDescriptiondefault StringexpandQuery(String index, String query) Returns expanded version of the query, or the input query if there is nothing to do for this expander.default List<SubterraURI>sortResult(String index, List<SubterraURI> uris, String sort) Deprecated.Since 3.24.10 and discouraged from the usage.
-
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
Deprecated.Since 3.24.10 and discouraged from the usage.Sorts the result list of URIs according to sorting criteria. By default it returns not modified input.- Parameters:
index- name of the index, this is usually the name of the prototypeuris- result of previous query, possibly not modifiablesort- the format is same as forIIndexSearch.sort(String)- Returns:
- newly sorted result
- Since:
- 3.5.1
-