public final class QueryInterpretationOptions
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud Search API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
QueryInterpretationOptions() |
Modifier and Type | Method and Description |
---|---|
QueryInterpretationOptions |
clone() |
java.lang.Boolean |
getDisableNlInterpretation()
Flag to disable natural language (NL) interpretation of queries.
|
java.lang.Boolean |
getEnableVerbatimMode()
Enable this flag to turn off all internal optimizations like natural language (NL)
interpretation of queries, supplemental result retrieval, and usage of synonyms including
custom ones.
|
QueryInterpretationOptions |
set(java.lang.String fieldName,
java.lang.Object value) |
QueryInterpretationOptions |
setDisableNlInterpretation(java.lang.Boolean disableNlInterpretation)
Flag to disable natural language (NL) interpretation of queries.
|
QueryInterpretationOptions |
setEnableVerbatimMode(java.lang.Boolean enableVerbatimMode)
Enable this flag to turn off all internal optimizations like natural language (NL)
interpretation of queries, supplemental result retrieval, and usage of synonyms including
custom ones.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.Boolean getDisableNlInterpretation()
null
for nonepublic QueryInterpretationOptions setDisableNlInterpretation(java.lang.Boolean disableNlInterpretation)
disableNlInterpretation
- disableNlInterpretation or null
for nonepublic java.lang.Boolean getEnableVerbatimMode()
null
for nonepublic QueryInterpretationOptions setEnableVerbatimMode(java.lang.Boolean enableVerbatimMode)
enableVerbatimMode
- enableVerbatimMode or null
for nonepublic QueryInterpretationOptions set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public QueryInterpretationOptions clone()
clone
in class com.google.api.client.json.GenericJson