public static final class BooleanFieldMapper.BooleanFieldType extends MappedFieldType
MappedFieldType.Relation
Modifier | Constructor and Description |
---|---|
|
BooleanFieldType() |
protected |
BooleanFieldType(BooleanFieldMapper.BooleanFieldType ref) |
Modifier and Type | Method and Description |
---|---|
MappedFieldType |
clone() |
IndexFieldData.Builder |
fielddataBuilder()
Return a fielddata builder for this field.
|
org.apache.lucene.util.BytesRef |
indexedValueForSearch(java.lang.Object value)
Returns the indexed value used to construct search "values".
|
java.lang.Boolean |
nullValue()
Returns the value that should be added when JSON null is found, or null if no value should be added
|
java.lang.String |
typeName()
Returns the name of this type, as would be specified in mapping properties
|
boolean |
useTermQueryWithQueryString()
Should the field query
MappedFieldType.termQuery(Object, org.elasticsearch.index.query.QueryShardContext) be used when detecting this
field in query string. |
java.lang.Boolean |
value(java.lang.Object value)
Returns the actual value of the field.
|
java.lang.Object |
valueForSearch(java.lang.Object value)
Returns the value that will be used as a result for search.
|
boost, checkCompatibility, createTerm, eagerGlobalOrdinals, equals, failIfNoDocValues, fuzzyQuery, hasDocValues, hashCode, indexAnalyzer, isFieldWithinQuery, isNumeric, isSortable, name, nullValueAsString, nullValueQuery, prefixQuery, queryStringTermQuery, rangeQuery, regexpQuery, searchAnalyzer, searchQuoteAnalyzer, setBoost, setEagerGlobalOrdinals, setHasDocValues, setIndexAnalyzer, setName, setNullValue, setSearchAnalyzer, setSearchQuoteAnalyzer, setSimilarity, similarity, stats, termQuery, termsQuery
checkIfFrozen, docValuesType, freeze, indexOptions, numericPrecisionStep, numericType, omitNorms, pointDimensionCount, pointNumBytes, setDimensions, setDocValuesType, setIndexOptions, setNumericPrecisionStep, setNumericType, setOmitNorms, setStored, setStoreTermVectorOffsets, setStoreTermVectorPayloads, setStoreTermVectorPositions, setStoreTermVectors, setTokenized, stored, storeTermVectorOffsets, storeTermVectorPayloads, storeTermVectorPositions, storeTermVectors, tokenized, toString
public BooleanFieldType()
protected BooleanFieldType(BooleanFieldMapper.BooleanFieldType ref)
public MappedFieldType clone()
clone
in class MappedFieldType
public java.lang.String typeName()
MappedFieldType
typeName
in class MappedFieldType
public java.lang.Boolean nullValue()
MappedFieldType
nullValue
in class MappedFieldType
public org.apache.lucene.util.BytesRef indexedValueForSearch(java.lang.Object value)
MappedFieldType
indexedValueForSearch
in class MappedFieldType
public java.lang.Boolean value(java.lang.Object value)
MappedFieldType
value
in class MappedFieldType
public java.lang.Object valueForSearch(java.lang.Object value)
MappedFieldType
valueForSearch
in class MappedFieldType
public boolean useTermQueryWithQueryString()
MappedFieldType
MappedFieldType.termQuery(Object, org.elasticsearch.index.query.QueryShardContext)
be used when detecting this
field in query string.useTermQueryWithQueryString
in class MappedFieldType
public IndexFieldData.Builder fielddataBuilder()
MappedFieldType
fielddataBuilder
in class MappedFieldType