Constructor and Description |
---|
ExtendedCommonTermsQuery(org.apache.lucene.search.BooleanClause.Occur highFreqOccur,
org.apache.lucene.search.BooleanClause.Occur lowFreqOccur,
float maxTermFrequency,
boolean disableCoord,
FieldMapper<?> mapper) |
Modifier and Type | Method and Description |
---|---|
IndexFieldData<?> |
IndexFieldData.Builder.build(Index index,
Settings indexSettings,
FieldMapper<?> mapper,
IndexFieldDataCache cache,
CircuitBreakerService breakerService,
MapperService mapperService) |
<IFD extends IndexFieldData<?>> |
IndexFieldDataService.getForField(FieldMapper<?> mapper) |
Modifier and Type | Method and Description |
---|---|
IndexFieldData<?> |
GeoPointCompressedIndexFieldData.Builder.build(Index index,
Settings indexSettings,
FieldMapper<?> mapper,
IndexFieldDataCache cache,
CircuitBreakerService breakerService,
MapperService mapperService) |
IndexFieldData<?> |
FloatArrayIndexFieldData.Builder.build(Index index,
Settings indexSettings,
FieldMapper<?> mapper,
IndexFieldDataCache cache,
CircuitBreakerService breakerService,
MapperService mapperService) |
IndexFieldData<?> |
DocValuesIndexFieldData.Builder.build(Index index,
Settings indexSettings,
FieldMapper<?> mapper,
IndexFieldDataCache cache,
CircuitBreakerService breakerService,
MapperService mapperService) |
IndexFieldData<?> |
ParentChildIndexFieldData.Builder.build(Index index,
Settings indexSettings,
FieldMapper<?> mapper,
IndexFieldDataCache cache,
CircuitBreakerService breakerService,
MapperService mapperService) |
IndexFieldData<AtomicFieldData> |
DisabledIndexFieldData.Builder.build(Index index,
Settings indexSettings,
FieldMapper<?> mapper,
IndexFieldDataCache cache,
CircuitBreakerService breakerService,
MapperService mapperService) |
IndexFieldData<?> |
DoubleArrayIndexFieldData.Builder.build(Index index,
Settings indexSettings,
FieldMapper<?> mapper,
IndexFieldDataCache cache,
CircuitBreakerService breakerService,
MapperService mapperService) |
IndexFieldData<?> |
IndexIndexFieldData.Builder.build(Index index,
Settings indexSettings,
FieldMapper<?> mapper,
IndexFieldDataCache cache,
CircuitBreakerService breakerService,
MapperService mapperService) |
IndexOrdinalsFieldData |
FSTBytesIndexFieldData.Builder.build(Index index,
Settings indexSettings,
FieldMapper<?> mapper,
IndexFieldDataCache cache,
CircuitBreakerService breakerService,
MapperService mapperService) |
IndexFieldData<?> |
GeoPointDoubleArrayIndexFieldData.Builder.build(Index index,
Settings indexSettings,
FieldMapper<?> mapper,
IndexFieldDataCache cache,
CircuitBreakerService breakerService,
MapperService mapperService) |
IndexFieldData<?> |
GeoPointBinaryDVIndexFieldData.Builder.build(Index index,
Settings indexSettings,
FieldMapper<?> mapper,
IndexFieldDataCache cache,
CircuitBreakerService breakerService,
MapperService mapperService) |
IndexFieldData<AtomicNumericFieldData> |
PackedArrayIndexFieldData.Builder.build(Index index,
Settings indexSettings,
FieldMapper<?> mapper,
IndexFieldDataCache cache,
CircuitBreakerService breakerService,
MapperService mapperService) |
IndexFieldData<?> |
BytesBinaryDVIndexFieldData.Builder.build(Index index,
Settings indexSettings,
FieldMapper<?> mapper,
IndexFieldDataCache cache,
CircuitBreakerService breakerService,
MapperService mapperService) |
IndexOrdinalsFieldData |
PagedBytesIndexFieldData.Builder.build(Index index,
Settings indexSettings,
FieldMapper<?> mapper,
IndexFieldDataCache cache,
CircuitBreakerService breakerService,
MapperService mapperService) |
Modifier and Type | Method and Description |
---|---|
void |
SingleFieldsVisitor.postProcess(FieldMapper mapper) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
ShardGetService.shouldGetFromSource(boolean ignoreErrorsOnGeneratedFields,
DocumentMapper docMapper,
FieldMapper<?> fieldMapper) |
Modifier and Type | Field and Description |
---|---|
List<FieldMapper<?>> |
FieldMapperListener.Aggregator.mappers |
Modifier and Type | Method and Description |
---|---|
FieldMapper |
MapperService.SmartNameFieldMappers.mapper()
The first mapper for the smart named field.
|
FieldMapper |
FieldMappers.mapper() |
FieldMapper |
MapperService.smartNameFieldMapper(String smartName)
Same as
MapperService.smartNameFieldMappers(String) but returns the first field mapper for it. |
FieldMapper<?> |
FieldMappersLookup.smartNameFieldMapper(String name)
Tries to find first based on
FieldMappersLookup.fullName(String) , then by FieldMappersLookup.indexName(String) , and last
by FieldMappersLookup.name(String) and return the first mapper for it (see FieldMappers.mapper() ). |
FieldMapper<?> |
DocumentFieldMappers.smartNameFieldMapper(String name) |
FieldMapper |
MapperService.smartNameFieldMapper(String smartName,
String[] types) |
FieldMapper<?> |
MapperService.unmappedFieldMapper(String type)
Given a type (eg.
|
Modifier and Type | Method and Description |
---|---|
protected Set<FieldMapper<?>> |
FieldMappersLookup.delegate() |
protected Set<FieldMapper<?>> |
DocumentFieldMappers.delegate() |
Iterator<FieldMapper> |
FieldMappers.iterator() |
List<FieldMapper> |
FieldMappers.mappers() |
Modifier and Type | Method and Description |
---|---|
boolean |
DocumentMapper.ParseListenerAdapter.beforeFieldAdded(FieldMapper fieldMapper,
org.apache.lucene.document.Field fieldable,
Object parseContext) |
boolean |
DocumentMapper.ParseListener.beforeFieldAdded(FieldMapper fieldMapper,
org.apache.lucene.document.Field fieldable,
ParseContext parseContent)
Called before a field is added to the document.
|
FieldMappers |
FieldMappers.concat(FieldMapper mapper)
Concats and returns a new
FieldMappers . |
abstract void |
FieldMapperListener.fieldMapper(FieldMapper<?> fieldMapper) |
void |
FieldMapperListener.Aggregator.fieldMapper(FieldMapper<?> fieldMapper) |
boolean |
ParseContext.includeInAll(Boolean includeInAll,
FieldMapper mapper) |
FieldMappers |
FieldMappers.remove(FieldMapper mapper) |
Modifier and Type | Method and Description |
---|---|
void |
DocumentMapper.addFieldMappers(List<FieldMapper<?>> fieldMappers) |
FieldMappersLookup |
FieldMappersLookup.copyAndAddAll(Collection<? extends FieldMapper<?>> newMappers)
Return a new instance that contains the union of this instance and the provided mappers.
|
DocumentFieldMappers |
DocumentFieldMappers.copyAndAllAll(Collection<? extends FieldMapper<?>> newMappers) |
void |
FieldMapperListener.fieldMappers(List<FieldMapper<?>> fieldMappers) |
Constructor and Description |
---|
FieldMappers(FieldMapper fieldMapper) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractFieldMapper<T> |
class |
BinaryFieldMapper |
class |
BooleanFieldMapper |
class |
ByteFieldMapper |
class |
CompletionFieldMapper |
class |
DateFieldMapper |
class |
DoubleFieldMapper |
class |
FloatFieldMapper |
class |
IntegerFieldMapper |
class |
LongFieldMapper |
class |
Murmur3FieldMapper |
class |
NumberFieldMapper<T extends Number> |
class |
ShortFieldMapper |
class |
StringFieldMapper |
class |
TokenCountFieldMapper
A
FieldMapper that takes a string and writes a count of the tokens in that string
to the index. |
Modifier and Type | Class and Description |
---|---|
class |
GeoPointFieldMapper
Parsing: We handle:
- "field" : "geo_hash"
- "field" : "lat,lon"
- "field" : {
"lat" : 1.1,
"lon" : 2.1
}
|
class |
GeoShapeFieldMapper
FieldMapper for indexing
Shape s. |
Modifier and Type | Class and Description |
---|---|
class |
AllFieldMapper |
class |
BoostFieldMapper |
class |
FieldNamesFieldMapper
A mapper that indexes the field names of a document under
_field_names . |
class |
IdFieldMapper |
class |
IndexFieldMapper |
class |
ParentFieldMapper |
class |
RoutingFieldMapper |
class |
SizeFieldMapper |
class |
SourceFieldMapper |
class |
TimestampFieldMapper |
class |
TTLFieldMapper |
class |
TypeFieldMapper |
class |
UidFieldMapper |
class |
VersionFieldMapper
Mapper for the _version field.
|
Modifier and Type | Class and Description |
---|---|
class |
IpFieldMapper |
Modifier and Type | Method and Description |
---|---|
FieldMapper |
QueryParseContext.fieldMapper(String name) |
Modifier and Type | Method and Description |
---|---|
<IFD extends IndexFieldData<?>> |
QueryParseContext.getForField(FieldMapper<?> mapper) |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.search.Query |
MultiMatchQuery.QueryBuilder.blendTerm(org.apache.lucene.index.Term term,
FieldMapper mapper) |
org.apache.lucene.search.Query |
MultiMatchQuery.CrossFieldsQueryBuilder.blendTerm(org.apache.lucene.index.Term term,
FieldMapper mapper) |
protected org.apache.lucene.search.Query |
MultiMatchQuery.blendTermQuery(org.apache.lucene.index.Term term,
FieldMapper mapper) |
protected org.apache.lucene.search.Query |
MatchQuery.blendTermQuery(org.apache.lucene.index.Term term,
FieldMapper mapper) |
protected org.apache.lucene.analysis.Analyzer |
MatchQuery.getAnalyzer(FieldMapper mapper,
MapperService.SmartNameFieldMappers smartNameFieldMappers) |
Modifier and Type | Method and Description |
---|---|
FieldMapper |
PercolateContext.smartNameFieldMapper(String name) |
FieldMapper |
PercolateContext.smartNameFieldMapperFromAnyType(String name) |
Modifier and Type | Method and Description |
---|---|
FieldMapper |
FieldContext.mapper() |
Constructor and Description |
---|
FieldContext(String field,
IndexFieldData<?> indexFieldData,
FieldMapper mapper)
Constructs a field data context for the given field and its index field data
|
Constructor and Description |
---|
FieldsTermsStringFacetExecutor(FieldMapper[] fieldMappers,
int size,
int shardSize,
TermsFacet.ComparatorType comparatorType,
boolean allTerms,
SearchContext context,
com.google.common.collect.ImmutableSet<org.apache.lucene.util.BytesRef> excluded,
Pattern pattern,
SearchScript script) |
Modifier and Type | Field and Description |
---|---|
FieldMapper<?> |
HighlighterContext.mapper |
Constructor and Description |
---|
HighlighterContext(String fieldName,
SearchContextHighlight.Field field,
FieldMapper<?> mapper,
SearchContext context,
FetchSubPhase.HitContext hitContext,
HighlighterContext.HighlightQuery query) |
Modifier and Type | Field and Description |
---|---|
protected FieldMapper<?> |
SimpleFragmentsBuilder.mapper |
Modifier and Type | Method and Description |
---|---|
static org.apache.lucene.search.vectorhighlight.FieldFragList.WeightedFragInfo |
FragmentBuilderHelper.fixWeightedFragInfo(FieldMapper<?> mapper,
org.apache.lucene.document.Field[] values,
org.apache.lucene.search.vectorhighlight.FieldFragList.WeightedFragInfo fragInfo)
Fixes problems with broken analysis chains if positions and offsets are messed up that can lead to
StringIndexOutOfBoundsException in the FastVectorHighlighter |
Constructor and Description |
---|
SimpleFragmentsBuilder(FieldMapper<?> mapper,
String[] preTags,
String[] postTags,
org.apache.lucene.search.vectorhighlight.BoundaryScanner boundaryScanner) |
SourceScoreOrderFragmentsBuilder(FieldMapper<?> mapper,
SearchContext searchContext,
FetchSubPhase.HitContext hitContext,
String[] preTags,
String[] postTags,
org.apache.lucene.search.vectorhighlight.BoundaryScanner boundaryScanner) |
SourceSimpleFragmentsBuilder(FieldMapper<?> mapper,
SearchContext searchContext,
FetchSubPhase.HitContext hitContext,
String[] preTags,
String[] postTags,
org.apache.lucene.search.vectorhighlight.BoundaryScanner boundaryScanner) |
Modifier and Type | Method and Description |
---|---|
abstract FieldMapper |
SearchContext.smartNameFieldMapper(String name) |
FieldMapper |
FilteredSearchContext.smartNameFieldMapper(String name) |
FieldMapper |
DefaultSearchContext.smartNameFieldMapper(String name) |
abstract FieldMapper |
SearchContext.smartNameFieldMapperFromAnyType(String name)
Looks up the given field, but does not restrict to fields in the types set on this context.
|
FieldMapper |
FilteredSearchContext.smartNameFieldMapperFromAnyType(String name) |
FieldMapper |
DefaultSearchContext.smartNameFieldMapperFromAnyType(String name) |
Modifier and Type | Method and Description |
---|---|
FieldMapper |
FieldLookup.mapper() |
Copyright © 2009–2015. All rights reserved.