Package org.elasticsearch.index.mapper
Class IgnoredFieldMapper.IgnoredFieldType
java.lang.Object
org.elasticsearch.index.mapper.MappedFieldType
org.elasticsearch.index.mapper.SimpleMappedFieldType
org.elasticsearch.index.mapper.TermBasedFieldType
org.elasticsearch.index.mapper.StringFieldType
org.elasticsearch.index.mapper.IgnoredFieldMapper.IgnoredFieldType
- Enclosing class:
- IgnoredFieldMapper
public static final class IgnoredFieldMapper.IgnoredFieldType extends StringFieldType
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.index.mapper.MappedFieldType
MappedFieldType.Relation -
Field Summary
Fields Modifier and Type Field Description static IgnoredFieldMapper.IgnoredFieldTypeINSTANCE -
Method Summary
Modifier and Type Method Description org.apache.lucene.search.QueryexistsQuery(QueryShardContext context)java.lang.StringtypeName()Returns the name of this type, as would be specified in mapping propertiesValueFetchervalueFetcher(MapperService mapperService, SearchLookup lookup, java.lang.String format)Create a helper class to fetch field values during theFetchFieldsPhase.Methods inherited from class org.elasticsearch.index.mapper.StringFieldType
fuzzyQuery, normalizeWildcardPattern, prefixQuery, rangeQuery, regexpQuery, wildcardQueryMethods inherited from class org.elasticsearch.index.mapper.TermBasedFieldType
indexedValueForSearch, termQuery, termQueryCaseInsensitive, termsQueryMethods inherited from class org.elasticsearch.index.mapper.MappedFieldType
boost, distanceFeatureQuery, docValueFormat, eagerGlobalOrdinals, extractTerm, failIfNoDocValues, failIfNotIndexed, familyTypeName, fielddataBuilder, getTextSearchInfo, hasDocValues, indexAnalyzer, intervals, isAggregatable, isFieldWithinQuery, isSearchable, isStored, meta, multiPhraseQuery, name, phrasePrefixQuery, phraseQuery, pointReaderIfPossible, prefixQuery, setBoost, setEagerGlobalOrdinals, setIndexAnalyzer, spanPrefixQuery, valueForDisplay, wildcardQuery
-
Field Details
-
Method Details
-
typeName
public java.lang.String typeName()Description copied from class:MappedFieldTypeReturns the name of this type, as would be specified in mapping properties- Specified by:
typeNamein classMappedFieldType
-
existsQuery
- Overrides:
existsQueryin classMappedFieldType
-
valueFetcher
public ValueFetcher valueFetcher(MapperService mapperService, SearchLookup lookup, java.lang.String format)Description copied from class:MappedFieldTypeCreate a helper class to fetch field values during theFetchFieldsPhase. New field types must implement this method in order to support the search 'fields' option. Except for metadata fields, field types should not throwUnsupportedOperationExceptionsince this could cause a search retrieving multiple fields (like "fields": ["*"]) to fail.- Specified by:
valueFetcherin classMappedFieldType
-