FieldQueryBuilder
A query that executes the query string against a field. It is a simplified
version of {@link QueryStringQueryBuilder} that simply runs against
a single field.
A query that executes the query string against a field. It is a simplified
version of {@link QueryStringQueryBuilder} that simply runs against
a single field.
A query that executes the query string against a field. It is a simplified
version of {@link QueryStringQueryBuilder} that simply runs against
a single field.
A query that executes the query string against a field. It is a simplified
version of {@link QueryStringQueryBuilder} that simply runs against
a single field.
A query that executes the query string against a field. It is a simplified
version of {@link QueryStringQueryBuilder} that simply runs against
a single field.
A query that executes the query string against a field. It is a simplified
version of {@link QueryStringQueryBuilder} that simply runs against
a single field.
A query that executes the query string against a field. It is a simplified
version of {@link QueryStringQueryBuilder} that simply runs against
a single field.
A query that executes the query string against a field. It is a simplified
version of {@link QueryStringQueryBuilder} that simply runs against
a single field.
Should leading wildcards be allowed or not. Defaults to true.
The optional analyzer used to analyze the query string. Note, if a field has search analyzer
defined for it, then it will be used automatically. Defaults to the smart search analyzer.
Set to true to enable analysis on wildcard and prefix queries.
Set to true if phrase queries will be automatically generated
when the analyzer returns more than one term from whitespace
delimited text.
NOTE: this behavior may not be suitable for all languages.
Set to false if phrase queries should only be generated when
surrounded by double quotes.
Sets the boost for this query. Documents matching this query will (in addition to the normal
weightings) have their score multiplied by the boost provided.
Sets the boolean operator of the query parser used to parse the query string.
In default mode ({@link FieldQueryBuilder.Operator#OR}) terms without any modifiers
are considered optional: for example capital of Hungary is equal to
capital OR of OR Hungary.In {@link FieldQueryBuilder.Operator#AND} mode terms are considered to be in conjunction: the
above mentioned query is parsed as capital AND of AND Hungary
Set the minimum similarity for fuzzy queries. Default is 0.5f.
Set the prefix length for fuzzy queries. Default is 0.
Whether terms of wildcard, prefix, fuzzy and range queries are to be automatically
lower-cased or not. Default is true.
Sets the default slop for phrases. If zero, then exact phrase matches
are required. Default value is zero.