public interface QueryCompiler| Modifier and Type | Interface and Description |
|---|---|
static class | QueryCompiler.MatchPrioritySpecifies how the query returned by compileQuery(String) should be applied |
| Modifier and Type | Method and Description |
|---|---|
default io.vertx.core.json.JsonObject | compileQuery(QueryPart queryPart)Create an Elasticsearch query for the given GeoRocket query part. |
default io.vertx.core.json.JsonObject | compileQuery(java.lang.String search)Create an Elasticsearch query for the given search string. |
default QueryCompiler.MatchPriority | getQueryPriority(QueryPart queryPart)Get the priority with which the Elasticsearch query returned by compileQuery(QueryPart) should be applied for the given GeoRocket query part |
default QueryCompiler.MatchPriority | getQueryPriority(java.lang.String search)Get the priority with which the Elasticsearch query returned by compileQuery(String) should be applied for the given search string |
default QueryCompiler.MatchPriority getQueryPriority(java.lang.String search)
compileQuery(String) should be applied for the given search stringsearch - the search stringdefault QueryCompiler.MatchPriority getQueryPriority(QueryPart queryPart)
compileQuery(QueryPart) should be applied for the given GeoRocket query partqueryPart - the GeoRocket query partdefault io.vertx.core.json.JsonObject compileQuery(java.lang.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 stringdefault io.vertx.core.json.JsonObject compileQuery(QueryPart queryPart)
Create an Elasticsearch query for the given GeoRocket query part.
Heads up: implementors may use the helper methods from ElasticsearchQueryHelper to build the query.
queryPart - the GeoRocket query part