QueryType Enum
- java.
lang. Object - java.
lang. Enum - com.
azure. search. documents. models. QueryType
- com.
- java.
public enum QueryType
extends Enum<QueryType>
Specifies the syntax of the search query. The default is 'simple'. Use 'full' if your query uses the Lucene query syntax.
Fields
FULL |
Uses the full Lucene query syntax for searches. |
SEMANTIC |
Best suited for queries expressed in natural language as opposed to keywords. |
SIMPLE |
Uses the simple query syntax for searches. |
Methods inherited from java.lang.Enum
valueOf
clone
compareTo
describeConstable
equals
finalize
getDeclaringClass
hashCode
name
ordinal
toString
Methods inherited from java.lang.Object
Methods
fromString(String value)
public static QueryType fromString(String value)
Parses a serialized value to a QueryType instance.
Parameters
- value
- String
Returns
the parsed QueryType object, or null if unable to parse.
toString()
valueOf(String name)
values()
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.
Azure SDK for Java