Package org.elasticsearch.index.mapper
Class MockFieldMapper.FakeFieldType
java.lang.Object
org.elasticsearch.index.mapper.MappedFieldType
org.elasticsearch.index.mapper.SimpleMappedFieldType
org.elasticsearch.index.mapper.TermBasedFieldType
org.elasticsearch.index.mapper.MockFieldMapper.FakeFieldType
- Enclosing class:
- MockFieldMapper
public static class MockFieldMapper.FakeFieldType
extends org.elasticsearch.index.mapper.TermBasedFieldType
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.index.mapper.MappedFieldType
org.elasticsearch.index.mapper.MappedFieldType.CollapseType, org.elasticsearch.index.mapper.MappedFieldType.Relation
-
Constructor Summary
Constructors Constructor Description FakeFieldType(java.lang.String name)
-
Method Summary
Modifier and Type Method Description java.lang.String
typeName()
org.elasticsearch.index.mapper.ValueFetcher
valueFetcher(org.elasticsearch.index.query.SearchExecutionContext context, java.lang.String format)
Methods inherited from class org.elasticsearch.index.mapper.TermBasedFieldType
indexedValueForSearch, termQuery, termQueryCaseInsensitive, termsQuery
Methods inherited from class org.elasticsearch.index.mapper.SimpleMappedFieldType
rangeQuery, rangeQuery
Methods inherited from class org.elasticsearch.index.mapper.MappedFieldType
boost, collapseType, distanceFeatureQuery, docValueFormat, eagerGlobalOrdinals, existsQuery, extractTerm, failIfNoDocValues, failIfNotIndexed, familyTypeName, fielddataBuilder, fuzzyQuery, getTextSearchInfo, hasDocValues, intervals, isAggregatable, isFieldWithinQuery, isSearchable, isStored, meta, multiPhraseQuery, name, phrasePrefixQuery, phraseQuery, pointReaderIfPossible, prefixQuery, prefixQuery, regexpQuery, setBoost, setEagerGlobalOrdinals, spanPrefixQuery, valueForDisplay, wildcardQuery, wildcardQuery
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
FakeFieldType
public FakeFieldType(java.lang.String name)
-
-
Method Details
-
typeName
public java.lang.String typeName()- Specified by:
typeName
in classorg.elasticsearch.index.mapper.MappedFieldType
-
valueFetcher
public org.elasticsearch.index.mapper.ValueFetcher valueFetcher(org.elasticsearch.index.query.SearchExecutionContext context, java.lang.String format)- Specified by:
valueFetcher
in classorg.elasticsearch.index.mapper.MappedFieldType
-