public static final class CompletionFieldMapper2x.CompletionFieldType extends TermBasedFieldType
MappedFieldType.Relation
Modifier | Constructor and Description |
---|---|
|
CompletionFieldType() |
protected |
CompletionFieldType(CompletionFieldMapper2x.CompletionFieldType ref) |
Modifier and Type | Method and Description |
---|---|
void |
checkCompatibility(MappedFieldType fieldType,
java.util.List<java.lang.String> conflicts,
boolean strict)
Checks for any conflicts between this field type and other.
|
CompletionFieldMapper2x.CompletionFieldType |
clone() |
boolean |
equals(java.lang.Object o) |
java.util.SortedMap<java.lang.String,ContextMapping> |
getContextMapping()
Get the context mapping associated with this completion field
|
int |
hashCode() |
org.apache.lucene.codecs.PostingsFormat |
postingsFormat(org.apache.lucene.codecs.PostingsFormat in) |
boolean |
requiresContext() |
void |
setContextMapping(java.util.SortedMap<java.lang.String,ContextMapping> contextMapping) |
void |
setProvider(AnalyzingCompletionLookupProvider provider) |
java.lang.String |
typeName()
Returns the name of this type, as would be specified in mapping properties
|
indexedValueForSearch, termQuery, termsQuery
boost, docValueFormat, eagerGlobalOrdinals, extractTerm, failIfNoDocValues, failIfNotIndexed, fielddataBuilder, fuzzyQuery, hasDocValues, indexAnalyzer, isAggregatable, isFieldWithinQuery, isSearchable, name, nullValue, nullValueAsString, nullValueQuery, prefixQuery, queryStringTermQuery, rangeQuery, regexpQuery, searchAnalyzer, searchQuoteAnalyzer, setBoost, setEagerGlobalOrdinals, setHasDocValues, setIndexAnalyzer, setName, setNullValue, setSearchAnalyzer, setSearchQuoteAnalyzer, setSimilarity, similarity, stats, valueForSearch
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 CompletionFieldType()
protected CompletionFieldType(CompletionFieldMapper2x.CompletionFieldType ref)
public boolean equals(java.lang.Object o)
equals
in class MappedFieldType
public int hashCode()
hashCode
in class MappedFieldType
public CompletionFieldMapper2x.CompletionFieldType clone()
clone
in class MappedFieldType
public java.lang.String typeName()
MappedFieldType
typeName
in class MappedFieldType
public void checkCompatibility(MappedFieldType fieldType, java.util.List<java.lang.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(java.util.SortedMap<java.lang.String,ContextMapping> contextMapping)
public java.util.SortedMap<java.lang.String,ContextMapping> getContextMapping()
public boolean requiresContext()