public static class MapperService.SmartNameFieldMappers extends Object
Constructor and Description |
---|
SmartNameFieldMappers(MapperService mapperService,
FieldMappers fieldMappers,
DocumentMapper docMapper,
boolean explicitTypeInName) |
Modifier and Type | Method and Description |
---|---|
DocumentMapper |
docMapper()
If the smart name was a typed field, with a type that we resolved, will return
the document mapper for it.
|
boolean |
explicitTypeInName()
Returns true if the type is explicitly specified in the name.
|
boolean |
explicitTypeInNameWithDocMapper() |
FieldMappers |
fieldMappers()
All the field mappers for the smart name field.
|
boolean |
hasDocMapper()
If the smart name was a typed field, with a type that we resolved, will return
true.
|
boolean |
hasMapper()
Has at least one mapper for the field.
|
FieldMapper |
mapper()
The first mapper for the smart named field.
|
org.apache.lucene.analysis.Analyzer |
searchAnalyzer()
The best effort search analyzer associated with this field.
|
org.apache.lucene.analysis.Analyzer |
searchQuoteAnalyzer() |
public SmartNameFieldMappers(MapperService mapperService, FieldMappers fieldMappers, @Nullable DocumentMapper docMapper, boolean explicitTypeInName)
public boolean hasMapper()
public FieldMapper mapper()
public FieldMappers fieldMappers()
public boolean hasDocMapper()
public DocumentMapper docMapper()
public boolean explicitTypeInName()
public boolean explicitTypeInNameWithDocMapper()
public org.apache.lucene.analysis.Analyzer searchAnalyzer()
public org.apache.lucene.analysis.Analyzer searchQuoteAnalyzer()
Copyright © 2009–2015. All rights reserved.