Adds a single prefix query to this search
Adds a single prefix query to this search
- the field and prefix value
this
Adds a single string query to this search
Adds a single string query to this search
the query string
this
Expects a query in json format and sets the query of the search request.
Expects a query in json format and sets the query of the search request. Query must be valid json beginning with '{' and ending with '}'. Field names must be double quoted.
Example:
search in "*" types("users", "tweets") limit 5 rawQuery { """{ "prefix": { "bands": { "prefix": "coldplay", "boost": 5.0, "rewrite": "yes" } } }""" } searchType SearchType.Scan
Adds a single regex query to this search
Adds a single regex query to this search
- the field and regex value
this
(Since version 1.3.0) Facets are deprecated, use aggregations
(Since version 1.3.0) Facets are deprecated, use aggregations