public static final class CompletionFieldMapper.CompletionFieldType extends MappedFieldType
MappedFieldType.Loading, MappedFieldType.Names
Modifier | Constructor and Description |
---|---|
|
CompletionFieldMapper.CompletionFieldType() |
protected |
CompletionFieldMapper.CompletionFieldType(CompletionFieldMapper.CompletionFieldType ref) |
Modifier and Type | Method and Description |
---|---|
void |
checkCompatibility(MappedFieldType fieldType,
List<String> conflicts,
boolean strict)
Checks for any conflicts between this field type and other.
|
CompletionFieldMapper.CompletionFieldType |
clone() |
boolean |
equals(Object o) |
SortedMap<String,ContextMapping> |
getContextMapping()
Get the context mapping associated with this completion field
|
int |
hashCode() |
boolean |
isSortable() |
org.apache.lucene.codecs.PostingsFormat |
postingsFormat(org.apache.lucene.codecs.PostingsFormat in) |
boolean |
requiresContext() |
void |
setContextMapping(SortedMap<String,ContextMapping> contextMapping) |
void |
setProvider(AnalyzingCompletionLookupProvider provider) |
String |
typeName()
Returns the name of this type, as would be specified in mapping properties
|
String |
value(Object value)
Returns the actual value of the field.
|
boost, createTerm, fieldDataType, fuzzyQuery, hasDocValues, indexAnalyzer, indexedValueForSearch, isNumeric, names, normsLoading, nullValue, nullValueAsString, nullValueQuery, prefixQuery, queryStringTermQuery, rangeQuery, regexpQuery, searchAnalyzer, searchQuoteAnalyzer, setBoost, setFieldDataType, setHasDocValues, setIndexAnalyzer, setNames, setNormsLoading, setNullValue, setSearchAnalyzer, setSearchQuoteAnalyzer, setSimilarity, similarity, stats, termQuery, termsQuery, useTermQueryWithQueryString, valueForSearch
checkIfFrozen, docValuesType, freeze, indexOptions, numericPrecisionStep, numericType, omitNorms, setDocValuesType, setIndexOptions, setNumericPrecisionStep, setNumericType, setOmitNorms, setStored, setStoreTermVectorOffsets, setStoreTermVectorPayloads, setStoreTermVectorPositions, setStoreTermVectors, setTokenized, stored, storeTermVectorOffsets, storeTermVectorPayloads, storeTermVectorPositions, storeTermVectors, tokenized, toString
public CompletionFieldMapper.CompletionFieldType()
protected CompletionFieldMapper.CompletionFieldType(CompletionFieldMapper.CompletionFieldType ref)
public boolean equals(Object o)
equals
in class MappedFieldType
public int hashCode()
hashCode
in class MappedFieldType
public CompletionFieldMapper.CompletionFieldType clone()
clone
in class MappedFieldType
public String typeName()
MappedFieldType
typeName
in class MappedFieldType
public void checkCompatibility(MappedFieldType fieldType, List<String> conflicts, boolean strict)
MappedFieldType
checkCompatibility
in class MappedFieldType
public void setProvider(AnalyzingCompletionLookupProvider provider)
public org.apache.lucene.codecs.PostingsFormat postingsFormat(org.apache.lucene.codecs.PostingsFormat in)
public void setContextMapping(SortedMap<String,ContextMapping> contextMapping)
public SortedMap<String,ContextMapping> getContextMapping()
public boolean requiresContext()
public String value(Object value)
MappedFieldType
value
in class MappedFieldType
public boolean isSortable()
isSortable
in class MappedFieldType
Copyright © 2009–2016. All rights reserved.