Package org.elasticsearch.index.mapper
Class MockFieldMapper.FakeFieldType
- java.lang.Object
-
- org.apache.lucene.document.FieldType
-
- org.elasticsearch.index.mapper.MappedFieldType
-
- org.elasticsearch.index.mapper.SimpleMappedFieldType
-
- org.elasticsearch.index.mapper.MockFieldMapper.FakeFieldType
-
- All Implemented Interfaces:
IndexableFieldType
- Enclosing class:
- MockFieldMapper
public static class MockFieldMapper.FakeFieldType extends SimpleMappedFieldType
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.elasticsearch.index.mapper.MappedFieldType
MappedFieldType.Relation
-
-
Constructor Summary
Constructors Modifier Constructor Description FakeFieldType()
protected
FakeFieldType(MockFieldMapper.FakeFieldType ref)
-
Method Summary
Modifier and Type Method Description MappedFieldType
clone()
org.apache.lucene.search.Query
existsQuery(QueryShardContext context)
protected org.apache.lucene.util.BytesRef
indexedValueForSearch(java.lang.Object arg0)
org.apache.lucene.search.Query
termQuery(java.lang.Object arg0, QueryShardContext arg1)
org.apache.lucene.search.Query
termsQuery(java.util.List<?> arg0, QueryShardContext arg1)
java.lang.String
typeName()
-
Methods inherited from class org.elasticsearch.index.mapper.SimpleMappedFieldType
rangeQuery, rangeQuery
-
Methods inherited from class org.elasticsearch.index.mapper.MappedFieldType
boost, checkCompatibility, docValueFormat, eagerGlobalOrdinals, equals, extractTerm, failIfNoDocValues, failIfNotIndexed, fielddataBuilder, fuzzyQuery, hasDocValues, hashCode, indexAnalyzer, intervals, isAggregatable, isFieldWithinQuery, isSearchable, multiPhraseQuery, name, nullValue, nullValueAsString, phrasePrefixQuery, phraseQuery, prefixQuery, regexpQuery, searchAnalyzer, searchQuoteAnalyzer, setBoost, setEagerGlobalOrdinals, setHasDocValues, setIndexAnalyzer, setName, setNullValue, setSearchAnalyzer, setSearchQuoteAnalyzer, setSimilarity, similarity, spanPrefixQuery, valueForDisplay, wildcardQuery
-
Methods inherited from class org.apache.lucene.document.FieldType
checkIfFrozen, docValuesType, freeze, getAttributes, indexOptions, omitNorms, pointDataDimensionCount, pointIndexDimensionCount, pointNumBytes, putAttribute, setDimensions, setDimensions, setDocValuesType, setIndexOptions, setOmitNorms, setStored, setStoreTermVectorOffsets, setStoreTermVectorPayloads, setStoreTermVectorPositions, setStoreTermVectors, setTokenized, stored, storeTermVectorOffsets, storeTermVectorPayloads, storeTermVectorPositions, storeTermVectors, tokenized, toString
-
-
-
-
Constructor Detail
-
FakeFieldType
public FakeFieldType()
-
FakeFieldType
protected FakeFieldType(MockFieldMapper.FakeFieldType ref)
-
-
Method Detail
-
clone
public MappedFieldType clone()
- Specified by:
clone
in classMappedFieldType
-
typeName
public java.lang.String typeName()
- Specified by:
typeName
in classMappedFieldType
-
existsQuery
public org.apache.lucene.search.Query existsQuery(QueryShardContext context)
- Specified by:
existsQuery
in classMappedFieldType
-
indexedValueForSearch
protected org.apache.lucene.util.BytesRef indexedValueForSearch(java.lang.Object arg0)
-
termQuery
public org.apache.lucene.search.Query termQuery(java.lang.Object arg0, QueryShardContext arg1)
- Specified by:
termQuery
in classMappedFieldType
-
termsQuery
public org.apache.lucene.search.Query termsQuery(java.util.List<?> arg0, QueryShardContext arg1)
- Overrides:
termsQuery
in classMappedFieldType
-
-