| Modifier and Type | Method and Description |
|---|---|
protected boolean |
ShardGetService.shouldGetFromSource(boolean ignoreErrorsOnGeneratedFields,
DocumentMapper docMapper,
FieldMapper fieldMapper) |
| Modifier and Type | Class and Description |
|---|---|
static class |
FieldMapper.Builder<T extends FieldMapper.Builder,Y extends FieldMapper> |
| Modifier and Type | Class and Description |
|---|---|
class |
MetadataFieldMapper
A mapper for a builtin field containing metadata about a document.
|
| Modifier and Type | Method and Description |
|---|---|
protected FieldMapper |
FieldMapper.clone() |
FieldMapper |
DocumentFieldMappers.getMapper(String field)
Returns the mapper for the given field
|
FieldMapper |
FieldMappers.mapper() |
FieldMapper |
FieldMapper.merge(Mapper mergeWith,
boolean updateAllTypes) |
FieldMapper |
DocumentFieldMappers.smartNameFieldMapper(String name) |
FieldMapper |
FieldMapper.updateFieldType(Map<String,MappedFieldType> fullNameToFieldType) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<FieldMapper> |
DocumentFieldMappers.iterator() |
Iterator<FieldMapper> |
FieldMappers.iterator() |
List<FieldMapper> |
FieldMappers.mappers() |
| Modifier and Type | Method and Description |
|---|---|
FieldMappers |
FieldMappers.concat(FieldMapper mapper)
Concats and returns a new
FieldMappers. |
boolean |
ParseContext.includeInAll(Boolean includeInAll,
FieldMapper mapper) |
void |
FieldMapper.MultiFields.parse(FieldMapper mainField,
ParseContext context) |
FieldMappers |
FieldMappers.remove(FieldMapper mapper) |
| Modifier and Type | Method and Description |
|---|---|
static void |
MapperUtils.collect(Mapper mapper,
Collection<ObjectMapper> objectMappers,
Collection<FieldMapper> fieldMappers)
Split mapper and its descendants into object and field mappers.
|
| Constructor and Description |
|---|
FieldMappers(FieldMapper fieldMapper) |
| Constructor and Description |
|---|
DocumentFieldMappers(Collection<FieldMapper> mappers,
org.apache.lucene.analysis.Analyzer defaultIndex,
org.apache.lucene.analysis.Analyzer defaultSearch,
org.apache.lucene.analysis.Analyzer defaultSearchQuote) |
| Modifier and Type | Class and Description |
|---|---|
class |
BinaryFieldMapper |
class |
BooleanFieldMapper
A field mapper for boolean fields.
|
class |
ByteFieldMapper |
class |
CompletionFieldMapper |
class |
DateFieldMapper |
class |
DoubleFieldMapper |
class |
FloatFieldMapper |
class |
IntegerFieldMapper |
class |
LongFieldMapper |
class |
NumberFieldMapper |
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 |
BaseGeoPointFieldMapper
GeoPointFieldMapper base class to maintain backward compatibility
|
class |
GeoPointFieldMapper
Parsing: We handle:
|
class |
GeoPointFieldMapperLegacy
Parsing: We handle:
|
class |
GeoShapeFieldMapper
FieldMapper for indexing
Shapes. |
| Modifier and Type | Method and Description |
|---|---|
FieldMapper |
BaseGeoPointFieldMapper.updateFieldType(Map<String,MappedFieldType> fullNameToFieldType) |
| Modifier and Type | Class and Description |
|---|---|
class |
AllFieldMapper |
class |
FieldNamesFieldMapper
A mapper that indexes the field names of a document under
_field_names. |
class |
IdFieldMapper |
class |
IndexFieldMapper |
class |
ParentFieldMapper |
class |
RoutingFieldMapper |
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 | Field and Description |
|---|---|
FieldMapper |
HighlighterContext.mapper |
| Modifier and Type | Method and Description |
|---|---|
boolean |
PostingsHighlighter.canHighlight(FieldMapper fieldMapper) |
boolean |
Highlighter.canHighlight(FieldMapper fieldMapper) |
boolean |
PlainHighlighter.canHighlight(FieldMapper fieldMapper) |
boolean |
FastVectorHighlighter.canHighlight(FieldMapper fieldMapper) |
| Constructor and Description |
|---|
HighlighterContext(String fieldName,
SearchContextHighlight.Field field,
FieldMapper mapper,
SearchContext context,
FetchSubPhase.HitContext hitContext,
org.apache.lucene.search.Query 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) |
Copyright © 2009–2017. All rights reserved.