|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.elasticsearch.index.mapper.DocumentFieldMappers
public class DocumentFieldMappers
Constructor Summary | |
---|---|
DocumentFieldMappers(DocumentMapper docMapper,
Iterable<FieldMapper> fieldMappers)
|
Method Summary | |
---|---|
DocumentFieldMappers |
concat(DocumentMapper docMapper,
FieldMapper... fieldMappers)
|
DocumentFieldMappers |
concat(DocumentMapper docMapper,
Iterable<FieldMapper> fieldMappers)
|
FieldMappers |
fullName(String fullName)
|
boolean |
hasMapper(FieldMapper fieldMapper)
|
org.apache.lucene.analysis.Analyzer |
indexAnalyzer()
A smart analyzer used for indexing that takes into account specific analyzers configured per FieldMapper . |
org.apache.lucene.analysis.Analyzer |
indexAnalyzer(org.apache.lucene.analysis.Analyzer defaultAnalyzer)
A smart analyzer used for indexing that takes into account specific analyzers configured per FieldMapper with a custom default analyzer for no explicit field analyzer. |
FieldMappers |
indexName(String indexName)
|
com.google.common.collect.UnmodifiableIterator<FieldMapper> |
iterator()
|
com.google.common.collect.ImmutableList<FieldMapper> |
mappers()
|
FieldMappers |
name(String name)
|
org.apache.lucene.analysis.Analyzer |
searchAnalyzer()
A smart analyzer used for searching that takes into account specific analyzers configured per FieldMapper . |
org.apache.lucene.analysis.Analyzer |
searchQuoteAnalyzer()
|
Set<String> |
simpleMatchToIndexNames(String pattern)
|
FieldMappers |
smartName(String name)
Tries to find first based on fullName(String) , then by indexName(String) , and last
by name(String) . |
FieldMapper |
smartNameFieldMapper(String name)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DocumentFieldMappers(DocumentMapper docMapper, Iterable<FieldMapper> fieldMappers)
Method Detail |
---|
public com.google.common.collect.UnmodifiableIterator<FieldMapper> iterator()
iterator
in interface Iterable<FieldMapper>
public com.google.common.collect.ImmutableList<FieldMapper> mappers()
public boolean hasMapper(FieldMapper fieldMapper)
public FieldMappers name(String name)
public FieldMappers indexName(String indexName)
public FieldMappers fullName(String fullName)
public Set<String> simpleMatchToIndexNames(String pattern)
public FieldMappers smartName(String name)
fullName(String)
, then by indexName(String)
, and last
by name(String)
.
public FieldMapper smartNameFieldMapper(String name)
public org.apache.lucene.analysis.Analyzer indexAnalyzer()
FieldMapper
.
public org.apache.lucene.analysis.Analyzer indexAnalyzer(org.apache.lucene.analysis.Analyzer defaultAnalyzer)
FieldMapper
with a custom default analyzer for no explicit field analyzer.
public org.apache.lucene.analysis.Analyzer searchAnalyzer()
FieldMapper
.
public org.apache.lucene.analysis.Analyzer searchQuoteAnalyzer()
public DocumentFieldMappers concat(DocumentMapper docMapper, FieldMapper... fieldMappers)
public DocumentFieldMappers concat(DocumentMapper docMapper, Iterable<FieldMapper> fieldMappers)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |