Constructor and Description |
---|
ExtendedCommonTermsQuery(org.apache.lucene.search.BooleanClause.Occur highFreqOccur,
org.apache.lucene.search.BooleanClause.Occur lowFreqOccur,
float maxTermFrequency,
boolean disableCoord,
MappedFieldType fieldType) |
Modifier and Type | Method and Description |
---|---|
IndexFieldData<?> |
IndexFieldData.Builder.build(Index index,
Settings indexSettings,
MappedFieldType fieldType,
IndexFieldDataCache cache,
CircuitBreakerService breakerService,
MapperService mapperService) |
<IFD extends IndexFieldData<?>> |
IndexFieldDataService.getForField(MappedFieldType fieldType) |
Modifier and Type | Method and Description |
---|---|
IndexFieldData<?> |
BytesBinaryDVIndexFieldData.Builder.build(Index index,
Settings indexSettings,
MappedFieldType fieldType,
IndexFieldDataCache cache,
CircuitBreakerService breakerService,
MapperService mapperService) |
IndexOrdinalsFieldData |
PagedBytesIndexFieldData.Builder.build(Index index,
Settings indexSettings,
MappedFieldType fieldType,
IndexFieldDataCache cache,
CircuitBreakerService breakerService,
MapperService mapperService) |
IndexFieldData<?> |
FloatArrayIndexFieldData.Builder.build(Index index,
Settings indexSettings,
MappedFieldType fieldType,
IndexFieldDataCache cache,
CircuitBreakerService breakerService,
MapperService mapperService) |
IndexFieldData<?> |
DocValuesIndexFieldData.Builder.build(Index index,
Settings indexSettings,
MappedFieldType fieldType,
IndexFieldDataCache cache,
CircuitBreakerService breakerService,
MapperService mapperService) |
IndexFieldData<?> |
AbstractGeoPointDVIndexFieldData.Builder.build(Index index,
Settings indexSettings,
MappedFieldType fieldType,
IndexFieldDataCache cache,
CircuitBreakerService breakerService,
MapperService mapperService) |
IndexFieldData<?> |
ParentChildIndexFieldData.Builder.build(Index index,
Settings indexSettings,
MappedFieldType fieldType,
IndexFieldDataCache cache,
CircuitBreakerService breakerService,
MapperService mapperService) |
IndexFieldData<?> |
GeoPointArrayIndexFieldData.Builder.build(Index index,
Settings indexSettings,
MappedFieldType fieldType,
IndexFieldDataCache cache,
CircuitBreakerService breakerService,
MapperService mapperService) |
IndexFieldData<AtomicNumericFieldData> |
PackedArrayIndexFieldData.Builder.build(Index index,
Settings indexSettings,
MappedFieldType fieldType,
IndexFieldDataCache cache,
CircuitBreakerService breakerService,
MapperService mapperService) |
IndexFieldData<?> |
IndexIndexFieldData.Builder.build(Index index,
Settings indexSettings,
MappedFieldType fieldType,
IndexFieldDataCache cache,
CircuitBreakerService breakerService,
MapperService mapperService) |
IndexFieldData<?> |
DoubleArrayIndexFieldData.Builder.build(Index index,
Settings indexSettings,
MappedFieldType fieldType,
IndexFieldDataCache cache,
CircuitBreakerService breakerService,
MapperService mapperService) |
Modifier and Type | Method and Description |
---|---|
void |
SingleFieldsVisitor.postProcess(MappedFieldType fieldType) |
Modifier and Type | Field and Description |
---|---|
protected MappedFieldType |
FieldMapper.defaultFieldType |
protected MappedFieldType |
FieldMapper.Builder.defaultFieldType |
protected MappedFieldType |
FieldMapper.fieldType |
protected MappedFieldType |
FieldMapper.Builder.fieldType |
Modifier and Type | Method and Description |
---|---|
abstract MappedFieldType |
MappedFieldType.clone() |
MappedFieldType |
FieldMapper.fieldType() |
MappedFieldType |
FieldMapper.Builder.fieldType() |
MappedFieldType |
MapperService.fullName(String fullName)
Returns the
MappedFieldType for the give fullName. |
MappedFieldType |
MapperService.indexName(String indexName)
Returns an
MappedFieldType which has the given index name. |
MappedFieldType |
MapperService.smartNameFieldType(String smartName) |
MappedFieldType |
MapperService.smartNameFieldType(String smartName,
String[] types) |
MappedFieldType |
MapperService.unmappedFieldType(String type)
Given a type (eg.
|
Modifier and Type | Method and Description |
---|---|
void |
MappedFieldType.checkCompatibility(MappedFieldType other,
List<String> conflicts,
boolean strict)
Checks for any conflicts between this field type and other.
|
MetadataFieldMapper |
MetadataFieldMapper.TypeParser.getDefault(Settings indexSettings,
MappedFieldType fieldType,
String typeName)
Get the default
MetadataFieldMapper to use, if nothing had to be parsed. |
Modifier and Type | Method and Description |
---|---|
Mapping |
Mapping.updateFieldType(Map<String,MappedFieldType> fullNameToFieldType)
Recursively update sub field types.
|
FieldMapper |
FieldMapper.updateFieldType(Map<String,MappedFieldType> fullNameToFieldType) |
FieldMapper.MultiFields |
FieldMapper.MultiFields.updateFieldType(Map<String,MappedFieldType> fullNameToFieldType) |
abstract Mapper |
Mapper.updateFieldType(Map<String,MappedFieldType> fullNameToFieldType)
Update the field type of this mapper.
|
DocumentMapper |
DocumentMapper.updateFieldType(Map<String,MappedFieldType> fullNameToFieldType)
Recursively update sub field types.
|
Constructor and Description |
---|
FieldMapper.Builder(String name,
MappedFieldType fieldType,
MappedFieldType defaultFieldType) |
FieldMapper(String simpleName,
MappedFieldType fieldType,
MappedFieldType defaultFieldType,
Settings indexSettings,
FieldMapper.MultiFields multiFields,
FieldMapper.CopyTo copyTo) |
MappedFieldType(MappedFieldType ref) |
MetadataFieldMapper.Builder(String name,
MappedFieldType fieldType,
MappedFieldType defaultFieldType) |
MetadataFieldMapper(String simpleName,
MappedFieldType fieldType,
MappedFieldType defaultFieldType,
Settings indexSettings) |
Modifier and Type | Class and Description |
---|---|
static class |
BooleanFieldMapper.BooleanFieldType |
static class |
CompletionFieldMapper.CompletionFieldType |
static class |
DateFieldMapper.DateFieldType |
static class |
DoubleFieldMapper.DoubleFieldType |
static class |
IntegerFieldMapper.IntegerFieldType |
static class |
LongFieldMapper.LongFieldType |
static class |
NumberFieldMapper.NumberFieldType |
static class |
StringFieldMapper.StringFieldType |
Modifier and Type | Field and Description |
---|---|
static MappedFieldType |
LongFieldMapper.Defaults.FIELD_TYPE |
static MappedFieldType |
ByteFieldMapper.Defaults.FIELD_TYPE |
static MappedFieldType |
BooleanFieldMapper.Defaults.FIELD_TYPE |
static MappedFieldType |
IntegerFieldMapper.Defaults.FIELD_TYPE |
static MappedFieldType |
ShortFieldMapper.Defaults.FIELD_TYPE |
static MappedFieldType |
FloatFieldMapper.Defaults.FIELD_TYPE |
static MappedFieldType |
DoubleFieldMapper.Defaults.FIELD_TYPE |
static MappedFieldType |
StringFieldMapper.Defaults.FIELD_TYPE |
static MappedFieldType |
BinaryFieldMapper.Defaults.FIELD_TYPE |
Modifier and Type | Method and Description |
---|---|
MappedFieldType |
BooleanFieldMapper.BooleanFieldType.clone() |
Modifier and Type | Method and Description |
---|---|
void |
NumberFieldMapper.NumberFieldType.checkCompatibility(MappedFieldType other,
List<String> conflicts,
boolean strict) |
void |
DateFieldMapper.DateFieldType.checkCompatibility(MappedFieldType fieldType,
List<String> conflicts,
boolean strict) |
void |
CompletionFieldMapper.CompletionFieldType.checkCompatibility(MappedFieldType fieldType,
List<String> conflicts,
boolean strict) |
Modifier and Type | Class and Description |
---|---|
static class |
BaseGeoPointFieldMapper.GeoPointFieldType |
static class |
GeoShapeFieldMapper.GeoShapeFieldType |
Modifier and Type | Field and Description |
---|---|
static MappedFieldType |
GeoShapeFieldMapper.Defaults.FIELD_TYPE |
protected MappedFieldType |
BaseGeoPointFieldMapper.GeoPointFieldType.geoHashFieldType |
protected MappedFieldType |
BaseGeoPointFieldMapper.GeoPointFieldType.latFieldType |
protected MappedFieldType |
BaseGeoPointFieldMapper.GeoPointFieldType.lonFieldType |
Modifier and Type | Method and Description |
---|---|
MappedFieldType |
BaseGeoPointFieldMapper.GeoPointFieldType.clone() |
MappedFieldType |
BaseGeoPointFieldMapper.GeoPointFieldType.geoHashFieldType() |
MappedFieldType |
BaseGeoPointFieldMapper.GeoPointFieldType.latFieldType() |
MappedFieldType |
BaseGeoPointFieldMapper.GeoPointFieldType.lonFieldType() |
Modifier and Type | Method and Description |
---|---|
GeoPointFieldMapper |
GeoPointFieldMapper.Builder.build(Mapper.BuilderContext context,
String simpleName,
MappedFieldType fieldType,
MappedFieldType defaultFieldType,
Settings indexSettings,
ContentPath.Type pathType,
DoubleFieldMapper latMapper,
DoubleFieldMapper lonMapper,
StringFieldMapper geoHashMapper,
FieldMapper.MultiFields multiFields,
Explicit<Boolean> ignoreMalformed,
FieldMapper.CopyTo copyTo) |
abstract Y |
BaseGeoPointFieldMapper.Builder.build(Mapper.BuilderContext context,
String simpleName,
MappedFieldType fieldType,
MappedFieldType defaultFieldType,
Settings indexSettings,
ContentPath.Type pathType,
DoubleFieldMapper latMapper,
DoubleFieldMapper lonMapper,
StringFieldMapper geoHashMapper,
FieldMapper.MultiFields multiFields,
Explicit<Boolean> ignoreMalformed,
FieldMapper.CopyTo copyTo) |
GeoPointFieldMapperLegacy |
GeoPointFieldMapperLegacy.Builder.build(Mapper.BuilderContext context,
String simpleName,
MappedFieldType fieldType,
MappedFieldType defaultFieldType,
Settings indexSettings,
ContentPath.Type pathType,
DoubleFieldMapper latMapper,
DoubleFieldMapper lonMapper,
StringFieldMapper geoHashMapper,
FieldMapper.MultiFields multiFields,
Explicit<Boolean> ignoreMalformed,
FieldMapper.CopyTo copyTo) |
void |
GeoShapeFieldMapper.GeoShapeFieldType.checkCompatibility(MappedFieldType fieldType,
List<String> conflicts,
boolean strict) |
void |
BaseGeoPointFieldMapper.GeoPointFieldType.checkCompatibility(MappedFieldType fieldType,
List<String> conflicts,
boolean strict) |
void |
BaseGeoPointFieldMapper.GeoPointFieldType.setGeoHashEnabled(MappedFieldType geoHashFieldType,
int geoHashPrecision,
boolean geoHashPrefixEnabled) |
void |
BaseGeoPointFieldMapper.GeoPointFieldType.setLatLonEnabled(MappedFieldType latFieldType,
MappedFieldType lonFieldType) |
Modifier and Type | Method and Description |
---|---|
FieldMapper |
BaseGeoPointFieldMapper.updateFieldType(Map<String,MappedFieldType> fullNameToFieldType) |
Modifier and Type | Class and Description |
---|---|
static class |
FieldNamesFieldMapper.FieldNamesFieldType |
static class |
TimestampFieldMapper.TimestampFieldType |
static class |
TTLFieldMapper.TTLFieldType |
Modifier and Type | Field and Description |
---|---|
static MappedFieldType |
VersionFieldMapper.Defaults.FIELD_TYPE |
static MappedFieldType |
ParentFieldMapper.Defaults.FIELD_TYPE |
static MappedFieldType |
RoutingFieldMapper.Defaults.FIELD_TYPE |
static MappedFieldType |
FieldNamesFieldMapper.Defaults.FIELD_TYPE |
static MappedFieldType |
SourceFieldMapper.Defaults.FIELD_TYPE |
static MappedFieldType |
AllFieldMapper.Defaults.FIELD_TYPE |
static MappedFieldType |
IndexFieldMapper.Defaults.FIELD_TYPE |
static MappedFieldType |
IdFieldMapper.Defaults.FIELD_TYPE |
static MappedFieldType |
TypeFieldMapper.Defaults.FIELD_TYPE |
static MappedFieldType |
UidFieldMapper.Defaults.FIELD_TYPE |
static MappedFieldType |
ParentFieldMapper.Defaults.JOIN_FIELD_TYPE |
static MappedFieldType |
UidFieldMapper.Defaults.NESTED_FIELD_TYPE |
Modifier and Type | Method and Description |
---|---|
MappedFieldType |
ParentFieldMapper.getChildJoinFieldType() |
MappedFieldType |
ParentFieldMapper.getParentJoinFieldType() |
Modifier and Type | Method and Description |
---|---|
void |
FieldNamesFieldMapper.FieldNamesFieldType.checkCompatibility(MappedFieldType fieldType,
List<String> conflicts,
boolean strict) |
MetadataFieldMapper |
VersionFieldMapper.TypeParser.getDefault(Settings indexSettings,
MappedFieldType fieldType,
String typeName) |
MetadataFieldMapper |
ParentFieldMapper.TypeParser.getDefault(Settings indexSettings,
MappedFieldType fieldType,
String parentType) |
MetadataFieldMapper |
RoutingFieldMapper.TypeParser.getDefault(Settings indexSettings,
MappedFieldType fieldType,
String typeName) |
MetadataFieldMapper |
FieldNamesFieldMapper.TypeParser.getDefault(Settings indexSettings,
MappedFieldType fieldType,
String typeName) |
MetadataFieldMapper |
SourceFieldMapper.TypeParser.getDefault(Settings indexSettings,
MappedFieldType fieldType,
String typeName) |
MetadataFieldMapper |
AllFieldMapper.TypeParser.getDefault(Settings indexSettings,
MappedFieldType fieldType,
String typeName) |
MetadataFieldMapper |
TTLFieldMapper.TypeParser.getDefault(Settings indexSettings,
MappedFieldType fieldType,
String typeName) |
MetadataFieldMapper |
IndexFieldMapper.TypeParser.getDefault(Settings indexSettings,
MappedFieldType fieldType,
String typeName) |
MetadataFieldMapper |
IdFieldMapper.TypeParser.getDefault(Settings indexSettings,
MappedFieldType fieldType,
String typeName) |
MetadataFieldMapper |
TimestampFieldMapper.TypeParser.getDefault(Settings indexSettings,
MappedFieldType fieldType,
String typeName) |
MetadataFieldMapper |
TypeFieldMapper.TypeParser.getDefault(Settings indexSettings,
MappedFieldType fieldType,
String typeName) |
MetadataFieldMapper |
UidFieldMapper.TypeParser.getDefault(Settings indexSettings,
MappedFieldType fieldType,
String typeName) |
Constructor and Description |
---|
AllFieldMapper.Builder(MappedFieldType existing) |
FieldNamesFieldMapper.Builder(MappedFieldType existing) |
IdFieldMapper.Builder(MappedFieldType existing) |
IndexFieldMapper.Builder(MappedFieldType existing) |
RoutingFieldMapper.Builder(MappedFieldType existing) |
TimestampFieldMapper.Builder(MappedFieldType existing,
Settings settings) |
TypeFieldMapper.Builder(MappedFieldType existing) |
UidFieldMapper.Builder(MappedFieldType existing) |
Modifier and Type | Class and Description |
---|---|
static class |
IpFieldMapper.IpFieldType |
Modifier and Type | Field and Description |
---|---|
static MappedFieldType |
IpFieldMapper.Defaults.FIELD_TYPE |
Constructor and Description |
---|
IpFieldMapper(String simpleName,
MappedFieldType fieldType,
MappedFieldType defaultFieldType,
Explicit<Boolean> ignoreMalformed,
Explicit<Boolean> coerce,
Settings indexSettings,
FieldMapper.MultiFields multiFields,
FieldMapper.CopyTo copyTo) |
Modifier and Type | Method and Description |
---|---|
RootObjectMapper |
RootObjectMapper.updateFieldType(Map<String,MappedFieldType> fullNameToFieldType) |
ObjectMapper |
ObjectMapper.updateFieldType(Map<String,MappedFieldType> fullNameToFieldType) |
Modifier and Type | Method and Description |
---|---|
MappedFieldType |
QueryParseContext.fieldMapper(String name) |
Modifier and Type | Method and Description |
---|---|
<IFD extends IndexFieldData<?>> |
QueryParseContext.getForField(MappedFieldType mapper) |
org.apache.lucene.analysis.Analyzer |
QueryParseContext.getSearchAnalyzer(MappedFieldType fieldType)
Gets the search analyzer for the given field, or the default if there is none present for the field
TODO: remove this by moving defaults into mappers themselves
|
org.apache.lucene.analysis.Analyzer |
QueryParseContext.getSearchQuoteAnalyzer(MappedFieldType fieldType)
Gets the search quote nalyzer for the given field, or the default if there is none present for the field
TODO: remove this by moving defaults into mappers themselves
|
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.search.Query |
MultiMatchQuery.QueryBuilder.blendTerm(org.apache.lucene.index.Term term,
MappedFieldType fieldType) |
org.apache.lucene.search.Query |
MultiMatchQuery.CrossFieldsQueryBuilder.blendTerm(org.apache.lucene.index.Term term,
MappedFieldType fieldType) |
protected org.apache.lucene.search.Query |
MatchQuery.blendTermQuery(org.apache.lucene.index.Term term,
MappedFieldType fieldType) |
protected org.apache.lucene.search.Query |
MultiMatchQuery.blendTermQuery(org.apache.lucene.index.Term term,
MappedFieldType fieldType) |
protected org.apache.lucene.analysis.Analyzer |
MatchQuery.getAnalyzer(MappedFieldType fieldType) |
protected org.apache.lucene.search.Query |
MatchQuery.termQuery(MappedFieldType fieldType,
Object value)
Creates a TermQuery-like-query for MappedFieldTypes that don't support
QueryBuilder which is very string-ish.
|
protected org.apache.lucene.search.Query |
MultiMatchQuery.termQuery(MappedFieldType fieldType,
Object value) |
org.apache.lucene.search.Query |
MultiMatchQuery.QueryBuilder.termQuery(MappedFieldType fieldType,
Object value) |
org.apache.lucene.search.Query |
MultiMatchQuery.CrossFieldsQueryBuilder.termQuery(MappedFieldType fieldType,
Object value) |
protected org.apache.lucene.search.Query |
MatchQuery.termQuery(MappedFieldType fieldType,
Object value,
boolean lenient) |
Modifier and Type | Method and Description |
---|---|
MappedFieldType |
PercolateContext.smartNameFieldType(String name) |
MappedFieldType |
PercolateContext.smartNameFieldTypeFromAnyType(String name) |
Modifier and Type | Method and Description |
---|---|
MappedFieldType |
FieldContext.fieldType() |
Constructor and Description |
---|
FieldContext(String field,
IndexFieldData<?> indexFieldData,
MappedFieldType fieldType)
Constructs a field data context for the given field and its index field data
|
Modifier and Type | Method and Description |
---|---|
MappedFieldType |
FilteredSearchContext.smartNameFieldType(String name) |
abstract MappedFieldType |
SearchContext.smartNameFieldType(String name) |
MappedFieldType |
DefaultSearchContext.smartNameFieldType(String name) |
MappedFieldType |
FilteredSearchContext.smartNameFieldTypeFromAnyType(String name) |
abstract MappedFieldType |
SearchContext.smartNameFieldTypeFromAnyType(String name)
Looks up the given field, but does not restrict to fields in the types set on this context.
|
MappedFieldType |
DefaultSearchContext.smartNameFieldTypeFromAnyType(String name) |
Modifier and Type | Method and Description |
---|---|
MappedFieldType |
FieldLookup.fieldType() |
Copyright © 2009–2016. All rights reserved.