public interface QueryCompiler
| Modifier and Type | Interface and Description |
|---|---|
static class |
QueryCompiler.MatchPriority
Specifies how the query returned by
compileQuery(String)
should be applied |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
compileQuery(String search)
Create an Elasticsearch query for the given search string.
|
QueryCompiler.MatchPriority |
getQueryPriority(String search)
Get the priority with which the query returned by
compileQuery(String)
should be applied for the given search string |
QueryCompiler.MatchPriority getQueryPriority(String search)
compileQuery(String)
should be applied for the given search stringsearch - the search stringJsonObject compileQuery(String search)
Create an Elasticsearch query for the given search string.
Heads up: implementors may use the helper methods from
ElasticsearchQueryHelper to build the query.
search - the search string