Package org.elasticsearch.index.mapper
Class Mapper.TypeParser.ParserContext
- java.lang.Object
-
- org.elasticsearch.index.mapper.Mapper.TypeParser.ParserContext
-
- Enclosing interface:
- Mapper.TypeParser
public static class Mapper.TypeParser.ParserContext extends Object
-
-
Constructor Summary
Constructors Constructor Description ParserContext(Function<String,SimilarityProvider> similarityLookupService, MapperService mapperService, Function<String,Mapper.TypeParser> typeParsers, Version indexVersionCreated, Supplier<QueryShardContext> queryShardContextSupplier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Mapper.TypeParser.ParserContextcreateMultiFieldContext(Mapper.TypeParser.ParserContext in)IndexAnalyzersgetIndexAnalyzers()SimilarityProvidergetSimilarity(String name)VersionindexVersionCreated()booleanisWithinMultiField()MapperServicemapperService()Supplier<QueryShardContext>queryShardContextSupplier()protected Function<String,SimilarityProvider>similarityLookupService()Mapper.TypeParsertypeParser(String type)protected Function<String,Mapper.TypeParser>typeParsers()
-
-
-
Constructor Detail
-
ParserContext
public ParserContext(Function<String,SimilarityProvider> similarityLookupService, MapperService mapperService, Function<String,Mapper.TypeParser> typeParsers, Version indexVersionCreated, Supplier<QueryShardContext> queryShardContextSupplier)
-
-
Method Detail
-
getIndexAnalyzers
public IndexAnalyzers getIndexAnalyzers()
-
getSimilarity
public SimilarityProvider getSimilarity(String name)
-
mapperService
public MapperService mapperService()
-
typeParser
public Mapper.TypeParser typeParser(String type)
-
indexVersionCreated
public Version indexVersionCreated()
-
queryShardContextSupplier
public Supplier<QueryShardContext> queryShardContextSupplier()
-
isWithinMultiField
public boolean isWithinMultiField()
-
typeParsers
protected Function<String,Mapper.TypeParser> typeParsers()
-
similarityLookupService
protected Function<String,SimilarityProvider> similarityLookupService()
-
createMultiFieldContext
public Mapper.TypeParser.ParserContext createMultiFieldContext(Mapper.TypeParser.ParserContext in)
-
-