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, valueForSearchcheckIfFrozen, docValuesType, freeze, indexOptions, numericPrecisionStep, numericType, omitNorms, setDocValuesType, setIndexOptions, setNumericPrecisionStep, setNumericType, setOmitNorms, setStored, setStoreTermVectorOffsets, setStoreTermVectorPayloads, setStoreTermVectorPositions, setStoreTermVectors, setTokenized, stored, storeTermVectorOffsets, storeTermVectorPayloads, storeTermVectorPositions, storeTermVectors, tokenized, toStringpublic CompletionFieldMapper.CompletionFieldType()
protected CompletionFieldMapper.CompletionFieldType(CompletionFieldMapper.CompletionFieldType ref)
public boolean equals(Object o)
equals in class MappedFieldTypepublic int hashCode()
hashCode in class MappedFieldTypepublic CompletionFieldMapper.CompletionFieldType clone()
clone in class MappedFieldTypepublic String typeName()
MappedFieldTypetypeName in class MappedFieldTypepublic void checkCompatibility(MappedFieldType fieldType, List<String> conflicts, boolean strict)
MappedFieldTypecheckCompatibility in class MappedFieldTypepublic 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)
MappedFieldTypevalue in class MappedFieldTypepublic boolean isSortable()
isSortable in class MappedFieldTypeCopyright © 2009–2017. All rights reserved.