Enum Class SimpleQueryStringFlag
java.lang.Object
java.lang.Enum<SimpleQueryStringFlag>
co.elastic.clients.elasticsearch._types.query_dsl.SimpleQueryStringFlag
- All Implemented Interfaces:
JsonEnum
,JsonpSerializable
,Serializable
,Comparable<SimpleQueryStringFlag>
,Constable
@JsonpDeserializable
public enum SimpleQueryStringFlag
extends Enum<SimpleQueryStringFlag>
implements JsonEnum
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface co.elastic.clients.json.JsonEnum
JsonEnum.Deserializer<T extends JsonEnum>
-
Enum Constant Summary
Enum ConstantDescriptionEnables all optional operators.Enables the+
AND operator.Enables\
as an escape character.Enables the~N
operator after a word, whereN
is an integer denoting the allowed edit distance for matching.Enables the~N
operator, after a phrase whereN
is the maximum number of positions allowed between matching tokens.Disables all operators.Enables the-
NOT operator.Enables the\|
OR operator.Enables the"
quotes operator used to search for phrases.Enables the(
and)
operators to control operator precedence.Enables the*
prefix operator.Enables the~N
operator, after a phrase whereN
is maximum number of positions allowed between matching tokens.Enables whitespace as split characters. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SimpleQueryStringFlag
Returns the enum constant of this class with the specified name.static SimpleQueryStringFlag[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
None
Disables all operators. -
And
Enables the+
AND operator. -
Not
Enables the-
NOT operator. -
Or
Enables the\|
OR operator. -
Prefix
Enables the*
prefix operator. -
Phrase
Enables the"
quotes operator used to search for phrases. -
Precedence
Enables the(
and)
operators to control operator precedence. -
Escape
Enables\
as an escape character. -
Whitespace
Enables whitespace as split characters. -
Fuzzy
Enables the~N
operator after a word, whereN
is an integer denoting the allowed edit distance for matching. -
Near
Enables the~N
operator, after a phrase whereN
is the maximum number of positions allowed between matching tokens. Synonymous toSLOP
. -
Slop
Enables the~N
operator, after a phrase whereN
is maximum number of positions allowed between matching tokens. Synonymous toNEAR
. -
All
Enables all optional operators.
-
-
Field Details
-
_DESERIALIZER
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
jsonValue
-