Modifier and Type | Method and Description |
---|---|
static Alias |
Alias.fromXContent(XContentParser parser)
Parses an alias and returns its parsed representation
|
Modifier and Type | Method and Description |
---|---|
static void |
MultiGetRequest.parseDocuments(XContentParser parser,
List<MultiGetRequest.Item> items) |
static void |
MultiGetRequest.parseDocuments(XContentParser parser,
List<MultiGetRequest.Item> items,
String defaultIndex,
String defaultType,
String[] defaultFields,
FetchSourceContext defaultFetchSource,
String defaultRouting,
boolean allowExplicitIndex) |
static void |
MultiGetRequest.parseIds(XContentParser parser,
List<MultiGetRequest.Item> items) |
static void |
MultiGetRequest.parseIds(XContentParser parser,
List<MultiGetRequest.Item> items,
String defaultIndex,
String defaultType,
String[] defaultFields,
FetchSourceContext defaultFetchSource,
String defaultRouting) |
Modifier and Type | Method and Description |
---|---|
static void |
TermVectorRequest.parseRequest(TermVectorRequest termVectorRequest,
XContentParser parser)
populates a request object (pre-populated with defaults) based on a parser.
|
Modifier and Type | Method and Description |
---|---|
SnapshotMetaData |
SnapshotMetaData.Factory.fromXContent(XContentParser parser) |
RestoreMetaData |
RestoreMetaData.Factory.fromXContent(XContentParser parser) |
static AliasMetaData |
AliasMetaData.Builder.fromXContent(XContentParser parser) |
T |
IndexMetaData.Custom.Factory.fromXContent(XContentParser parser) |
static IndexMetaData |
IndexMetaData.Builder.fromXContent(XContentParser parser) |
RepositoriesMetaData |
RepositoriesMetaData.Factory.fromXContent(XContentParser parser) |
abstract T |
MetaData.Custom.Factory.fromXContent(XContentParser parser) |
static MetaData |
MetaData.Builder.fromXContent(XContentParser parser) |
static IndexTemplateMetaData |
IndexTemplateMetaData.Builder.fromXContent(XContentParser parser,
String templateName) |
void |
MappingMetaData.parse(XContentParser parser,
MappingMetaData.ParseContext parseContext) |
Modifier and Type | Method and Description |
---|---|
AllocateAllocationCommand |
AllocateAllocationCommand.Factory.fromXContent(XContentParser parser) |
CancelAllocationCommand |
CancelAllocationCommand.Factory.fromXContent(XContentParser parser) |
static AllocationCommands |
AllocationCommands.fromXContent(XContentParser parser)
Reads
AllocationCommands from a XContentParser |
MoveAllocationCommand |
MoveAllocationCommand.Factory.fromXContent(XContentParser parser) |
T |
AllocationCommand.Factory.fromXContent(XContentParser parser)
|
Modifier and Type | Method and Description |
---|---|
static GeoPoint |
GeoUtils.parseGeoPoint(XContentParser parser)
Parse a
GeoPoint with a XContentParser : |
static GeoPoint |
GeoUtils.parseGeoPoint(XContentParser parser,
GeoPoint point)
Parse a
GeoPoint with a XContentParser . |
Modifier and Type | Method and Description |
---|---|
static ShapeBuilder |
ShapeBuilder.parse(XContentParser parser)
Create a new
ShapeBuilder from XContent |
static ShapeBuilder |
ShapeBuilder.GeoShapeType.parse(XContentParser parser) |
static ShapeBuilder |
ShapeBuilder.parse(XContentParser parser,
GeoShapeFieldMapper geoDocMapper)
Create a new
ShapeBuilder from XContent |
static ShapeBuilder |
ShapeBuilder.GeoShapeType.parse(XContentParser parser,
GeoShapeFieldMapper shapeMapper)
Parse the geometry specified by the source document and return a ShapeBuilder instance used to
build the actual geometry
|
protected static GeometryCollectionBuilder |
ShapeBuilder.GeoShapeType.parseGeometries(XContentParser parser,
ShapeBuilder.Orientation orientation)
Parse the geometries array of a GeometryCollection
|
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
XContentSettingsLoader.load(XContentParser jp) |
Modifier and Type | Method and Description |
---|---|
static Fuzziness |
Fuzziness.parse(XContentParser parser) |
Modifier and Type | Method and Description |
---|---|
XContentParser |
XContent.createParser(byte[] data)
Creates a parser over the provided bytes.
|
static XContentParser |
XContentHelper.createParser(byte[] data,
int offset,
int length) |
XContentParser |
XContent.createParser(byte[] data,
int offset,
int length)
Creates a parser over the provided bytes.
|
static XContentParser |
XContentHelper.createParser(BytesReference bytes) |
XContentParser |
XContent.createParser(BytesReference bytes)
Creates a parser over the provided bytes.
|
XContentParser |
XContent.createParser(InputStream is)
Creates a parser over the provided input stream.
|
XContentParser |
XContent.createParser(Reader reader)
Creates a parser over the provided reader.
|
XContentParser |
XContent.createParser(String content)
Creates a parser over the provided string content.
|
Modifier and Type | Method and Description |
---|---|
static void |
XContentHelper.copyCurrentEvent(XContentGenerator generator,
XContentParser parser) |
static void |
XContentHelper.copyCurrentStructure(XContentGenerator generator,
XContentParser parser) |
XContentBuilder |
XContentBuilder.copyCurrentStructure(XContentParser parser) |
void |
XContentGenerator.copyCurrentStructure(XContentParser parser) |
Modifier and Type | Class and Description |
---|---|
class |
CborXContentParser |
Modifier and Type | Method and Description |
---|---|
XContentParser |
CborXContent.createParser(byte[] data) |
XContentParser |
CborXContent.createParser(byte[] data,
int offset,
int length) |
XContentParser |
CborXContent.createParser(BytesReference bytes) |
XContentParser |
CborXContent.createParser(InputStream is) |
XContentParser |
CborXContent.createParser(Reader reader) |
XContentParser |
CborXContent.createParser(String content) |
Modifier and Type | Class and Description |
---|---|
class |
JsonXContentParser |
Modifier and Type | Method and Description |
---|---|
XContentParser |
JsonXContent.createParser(byte[] data) |
XContentParser |
JsonXContent.createParser(byte[] data,
int offset,
int length) |
XContentParser |
JsonXContent.createParser(BytesReference bytes) |
XContentParser |
JsonXContent.createParser(InputStream is) |
XContentParser |
JsonXContent.createParser(Reader reader) |
XContentParser |
JsonXContent.createParser(String content) |
Modifier and Type | Method and Description |
---|---|
void |
JsonXContentGenerator.copyCurrentStructure(XContentParser parser) |
Modifier and Type | Class and Description |
---|---|
class |
SmileXContentParser |
Modifier and Type | Method and Description |
---|---|
XContentParser |
SmileXContent.createParser(byte[] data) |
XContentParser |
SmileXContent.createParser(byte[] data,
int offset,
int length) |
XContentParser |
SmileXContent.createParser(BytesReference bytes) |
XContentParser |
SmileXContent.createParser(InputStream is) |
XContentParser |
SmileXContent.createParser(Reader reader) |
XContentParser |
SmileXContent.createParser(String content) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractXContentParser |
Modifier and Type | Class and Description |
---|---|
class |
YamlXContentParser |
Modifier and Type | Method and Description |
---|---|
XContentParser |
YamlXContent.createParser(byte[] data) |
XContentParser |
YamlXContent.createParser(byte[] data,
int offset,
int length) |
XContentParser |
YamlXContent.createParser(BytesReference bytes) |
XContentParser |
YamlXContent.createParser(InputStream is) |
XContentParser |
YamlXContent.createParser(Reader reader) |
XContentParser |
YamlXContent.createParser(String content) |
Modifier and Type | Method and Description |
---|---|
abstract T |
MetaDataStateFormat.fromXContent(XContentParser parser)
Reads a new instance of the state from the given XContentParser
Subclasses need to implement this class for theirs specific state.
|
Modifier and Type | Method and Description |
---|---|
XContentParser |
SourceToParse.parser() |
abstract XContentParser |
ParseContext.parser() |
XContentParser |
ParseContext.InternalParseContext.parser() |
Modifier and Type | Method and Description |
---|---|
void |
ParseContext.InternalParseContext.reset(XContentParser parser,
ParseContext.Document document,
SourceToParse source,
DocumentMapper.ParseListener listener) |
static SourceToParse |
SourceToParse.source(XContentParser parser) |
Constructor and Description |
---|
SourceToParse(SourceToParse.Origin origin,
XContentParser parser) |
Modifier and Type | Method and Description |
---|---|
XContentParser |
QueryParseContext.parser() |
Modifier and Type | Method and Description |
---|---|
ParsedQuery |
IndexQueryParserService.parse(QueryParseContext context,
XContentParser parser) |
ParsedQuery |
IndexQueryParserService.parse(XContentParser parser) |
static TemplateQueryParser.TemplateContext |
TemplateQueryParser.parse(XContentParser parser,
String paramsFieldname) |
static TemplateQueryParser.TemplateContext |
TemplateQueryParser.parse(XContentParser parser,
String paramsFieldname,
Map<String,ScriptService.ScriptType> parameterMap) |
static TemplateQueryParser.TemplateContext |
TemplateQueryParser.parse(XContentParser parser,
String paramsFieldname,
String... parameters) |
ParsedFilter |
IndexQueryParserService.parseInnerFilter(XContentParser parser)
Parses an inner filter, returning null if the filter should be ignored.
|
org.apache.lucene.search.Query |
IndexQueryParserService.parseInnerQuery(XContentParser parser) |
void |
QueryParseContext.parser(XContentParser parser) |
void |
QueryParseContext.reset(XContentParser jp) |
Modifier and Type | Method and Description |
---|---|
ScoreFunction |
DecayFunctionParser.parse(QueryParseContext parseContext,
XContentParser parser)
Parses bodies of the kind
|
ScoreFunction |
ScoreFunctionParser.parse(QueryParseContext parseContext,
XContentParser parser) |
Modifier and Type | Method and Description |
---|---|
ScoreFunction |
FactorParser.parse(QueryParseContext parseContext,
XContentParser parser)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ScoreFunction |
FieldValueFactorFunctionParser.parse(QueryParseContext parseContext,
XContentParser parser) |
Modifier and Type | Method and Description |
---|---|
ScoreFunction |
RandomScoreFunctionParser.parse(QueryParseContext parseContext,
XContentParser parser) |
Modifier and Type | Method and Description |
---|---|
ScoreFunction |
ScriptScoreFunctionParser.parse(QueryParseContext parseContext,
XContentParser parser) |
Modifier and Type | Method and Description |
---|---|
static void |
InnerHitsQueryParserHelper.parseCommonInnerHitOptions(XContentParser parser,
XContentParser.Token token,
String fieldName,
SubSearchContext subSearchContext,
SortParseElement sortParseElement,
FetchSourceParseElement sourceParseElement,
HighlighterParseElement highlighterParseElement,
ScriptFieldsParseElement scriptFieldsParseElement,
FieldDataFieldsParseElement fieldDataFieldsParseElement) |
Constructor and Description |
---|
NestedInnerQueryParseSupport(XContentParser parser,
SearchContext searchContext) |
Modifier and Type | Method and Description |
---|---|
void |
StatsGroupsParseElement.parse(XContentParser parser,
SearchContext context) |
Modifier and Type | Method and Description |
---|---|
static BlobStoreIndexShardSnapshot |
BlobStoreIndexShardSnapshot.fromXContent(XContentParser parser)
Parses shard snapshot metadata
|
static BlobStoreIndexShardSnapshot.FileInfo |
BlobStoreIndexShardSnapshot.FileInfo.fromXContent(XContentParser parser)
Parses JSON that represents file info
|
Modifier and Type | Method and Description |
---|---|
static BlobStoreSnapshot |
BlobStoreSnapshot.Builder.fromXContent(XContentParser parser)
Parses the snapshot
|
Modifier and Type | Method and Description |
---|---|
boolean |
ScriptParameterParser.token(String currentFieldName,
XContentParser.Token token,
XContentParser parser) |
Modifier and Type | Method and Description |
---|---|
void |
SearchParseElement.parse(XContentParser parser,
SearchContext context) |
Modifier and Type | Method and Description |
---|---|
AggregatorFactory |
Aggregator.Parser.parse(String aggregationName,
XContentParser parser,
SearchContext context)
Returns the aggregator factory with which this parser is associated, may return
null indicating the
aggregation should be skipped (e.g. |
void |
AggregationParseElement.parse(XContentParser parser,
SearchContext context) |
void |
AggregationBinaryParseElement.parse(XContentParser parser,
SearchContext context) |
AggregatorFactories |
AggregatorParsers.parseAggregators(XContentParser parser,
SearchContext context)
Parses the aggregation request recursively generating aggregator factories in turn.
|
Modifier and Type | Method and Description |
---|---|
AggregatorFactory |
ChildrenParser.parse(String aggregationName,
XContentParser parser,
SearchContext context) |
Modifier and Type | Method and Description |
---|---|
AggregatorFactory |
FilterParser.parse(String aggregationName,
XContentParser parser,
SearchContext context) |
Modifier and Type | Method and Description |
---|---|
AggregatorFactory |
FiltersParser.parse(String aggregationName,
XContentParser parser,
SearchContext context) |
Modifier and Type | Method and Description |
---|---|
AggregatorFactory |
GeoHashGridParser.parse(String aggregationName,
XContentParser parser,
SearchContext context) |
Modifier and Type | Method and Description |
---|---|
AggregatorFactory |
GlobalParser.parse(String aggregationName,
XContentParser parser,
SearchContext context) |
Modifier and Type | Method and Description |
---|---|
AggregatorFactory |
HistogramParser.parse(String aggregationName,
XContentParser parser,
SearchContext context) |
AggregatorFactory |
DateHistogramParser.parse(String aggregationName,
XContentParser parser,
SearchContext context) |
Modifier and Type | Method and Description |
---|---|
AggregatorFactory |
MissingParser.parse(String aggregationName,
XContentParser parser,
SearchContext context) |
Modifier and Type | Method and Description |
---|---|
AggregatorFactory |
ReverseNestedParser.parse(String aggregationName,
XContentParser parser,
SearchContext context) |
AggregatorFactory |
NestedParser.parse(String aggregationName,
XContentParser parser,
SearchContext context) |
Modifier and Type | Method and Description |
---|---|
AggregatorFactory |
RangeParser.parse(String aggregationName,
XContentParser parser,
SearchContext context) |
Modifier and Type | Method and Description |
---|---|
AggregatorFactory |
DateRangeParser.parse(String aggregationName,
XContentParser parser,
SearchContext context) |
Modifier and Type | Method and Description |
---|---|
AggregatorFactory |
GeoDistanceParser.parse(String aggregationName,
XContentParser parser,
SearchContext context) |
Modifier and Type | Method and Description |
---|---|
AggregatorFactory |
IpRangeParser.parse(String aggregationName,
XContentParser parser,
SearchContext context) |
Modifier and Type | Method and Description |
---|---|
AggregatorFactory |
SignificantTermsParser.parse(String aggregationName,
XContentParser parser,
SearchContext context) |
void |
SignificantTermsParametersParser.parseSpecial(String aggregationName,
XContentParser parser,
SearchContext context,
XContentParser.Token token,
String currentFieldName) |
Modifier and Type | Method and Description |
---|---|
SignificanceHeuristic |
PercentageScore.PercentageScoreParser.parse(XContentParser parser) |
SignificanceHeuristic |
JLHScore.JLHScoreParser.parse(XContentParser parser) |
SignificanceHeuristic |
GND.GNDParser.parse(XContentParser parser) |
SignificanceHeuristic |
ScriptHeuristic.ScriptHeuristicParser.parse(XContentParser parser) |
SignificanceHeuristic |
SignificanceHeuristicParser.parse(XContentParser parser) |
SignificanceHeuristic |
NXYSignificanceHeuristic.NXYParser.parse(XContentParser parser) |
Modifier and Type | Method and Description |
---|---|
AggregatorFactory |
TermsParser.parse(String aggregationName,
XContentParser parser,
SearchContext context) |
void |
AbstractTermsParametersParser.parse(String aggregationName,
XContentParser parser,
SearchContext context,
ValuesSourceParser vsParser,
IncludeExclude.Parser incExcParser) |
void |
TermsParametersParser.parseSpecial(String aggregationName,
XContentParser parser,
SearchContext context,
XContentParser.Token token,
String currentFieldName) |
abstract void |
AbstractTermsParametersParser.parseSpecial(String aggregationName,
XContentParser parser,
SearchContext context,
XContentParser.Token token,
String currentFieldName) |
Modifier and Type | Method and Description |
---|---|
boolean |
IncludeExclude.Parser.token(String currentFieldName,
XContentParser.Token token,
XContentParser parser) |
Modifier and Type | Method and Description |
---|---|
AggregatorFactory |
NumericValuesSourceMetricsAggregatorParser.parse(String aggregationName,
XContentParser parser,
SearchContext context) |
Modifier and Type | Method and Description |
---|---|
AggregatorFactory |
CardinalityParser.parse(String name,
XContentParser parser,
SearchContext context) |
Modifier and Type | Method and Description |
---|---|
AggregatorFactory |
GeoBoundsParser.parse(String aggregationName,
XContentParser parser,
SearchContext context) |
Modifier and Type | Method and Description |
---|---|
AggregatorFactory |
AbstractPercentilesParser.parse(String aggregationName,
XContentParser parser,
SearchContext context) |
Modifier and Type | Method and Description |
---|---|
AggregatorFactory |
ScriptedMetricParser.parse(String aggregationName,
XContentParser parser,
SearchContext context) |
Modifier and Type | Method and Description |
---|---|
AggregatorFactory |
ExtendedStatsParser.parse(String aggregationName,
XContentParser parser,
SearchContext context) |
Modifier and Type | Method and Description |
---|---|
AggregatorFactory |
TopHitsParser.parse(String aggregationName,
XContentParser parser,
SearchContext context) |
Modifier and Type | Method and Description |
---|---|
AggregatorFactory |
ValueCountParser.parse(String aggregationName,
XContentParser parser,
SearchContext context) |
Modifier and Type | Method and Description |
---|---|
boolean |
ValuesSourceParser.token(String currentFieldName,
XContentParser.Token token,
XContentParser parser) |
boolean |
GeoPointParser.token(String currentFieldName,
XContentParser.Token token,
XContentParser parser) |
Modifier and Type | Method and Description |
---|---|
FacetExecutor |
FacetParser.parse(String facetName,
XContentParser parser,
SearchContext context)
Parses the facet into a
FacetExecutor . |
void |
FacetParseElement.parse(XContentParser parser,
SearchContext context) |
void |
FacetBinaryParseElement.parse(XContentParser parser,
SearchContext context) |
Modifier and Type | Method and Description |
---|---|
FacetExecutor |
DateHistogramFacetParser.parse(String facetName,
XContentParser parser,
SearchContext context) |
Modifier and Type | Method and Description |
---|---|
FacetExecutor |
FilterFacetParser.parse(String facetName,
XContentParser parser,
SearchContext context) |
Modifier and Type | Method and Description |
---|---|
FacetExecutor |
GeoDistanceFacetParser.parse(String facetName,
XContentParser parser,
SearchContext context) |
Modifier and Type | Method and Description |
---|---|
FacetExecutor |
HistogramFacetParser.parse(String facetName,
XContentParser parser,
SearchContext context) |
Modifier and Type | Method and Description |
---|---|
FacetExecutor |
QueryFacetParser.parse(String facetName,
XContentParser parser,
SearchContext context) |
Modifier and Type | Method and Description |
---|---|
FacetExecutor |
RangeFacetParser.parse(String facetName,
XContentParser parser,
SearchContext context) |
Modifier and Type | Method and Description |
---|---|
FacetExecutor |
StatisticalFacetParser.parse(String facetName,
XContentParser parser,
SearchContext context) |
Modifier and Type | Method and Description |
---|---|
FacetExecutor |
TermsFacetParser.parse(String facetName,
XContentParser parser,
SearchContext context) |
Modifier and Type | Method and Description |
---|---|
FacetExecutor |
TermsStatsFacetParser.parse(String facetName,
XContentParser parser,
SearchContext context) |
Modifier and Type | Method and Description |
---|---|
void |
FieldsParseElement.parse(XContentParser parser,
SearchContext context) |
Modifier and Type | Method and Description |
---|---|
void |
ExplainParseElement.parse(XContentParser parser,
SearchContext context) |
Modifier and Type | Method and Description |
---|---|
void |
FieldDataFieldsParseElement.parse(XContentParser parser,
SearchContext context) |
Modifier and Type | Method and Description |
---|---|
void |
InnerHitsParseElement.parse(XContentParser parser,
SearchContext searchContext) |
Modifier and Type | Method and Description |
---|---|
void |
PartialFieldsParseElement.parse(XContentParser parser,
SearchContext context) |
Modifier and Type | Method and Description |
---|---|
void |
ScriptFieldsParseElement.parse(XContentParser parser,
SearchContext context) |
Modifier and Type | Method and Description |
---|---|
FetchSourceContext |
FetchSourceParseElement.parse(XContentParser parser) |
void |
FetchSourceParseElement.parse(XContentParser parser,
SearchContext context) |
Modifier and Type | Method and Description |
---|---|
void |
VersionParseElement.parse(XContentParser parser,
SearchContext context) |
Modifier and Type | Method and Description |
---|---|
SearchContextHighlight |
HighlighterParseElement.parse(XContentParser parser,
IndexQueryParserService queryParserService) |
void |
HighlighterParseElement.parse(XContentParser parser,
SearchContext context) |
protected org.elasticsearch.search.highlight.SearchContextHighlight.FieldOptions.Builder |
HighlighterParseElement.parseFields(XContentParser parser,
IndexQueryParserService queryParserService) |
Modifier and Type | Method and Description |
---|---|
void |
QueryParseElement.parse(XContentParser parser,
SearchContext context) |
void |
SizeParseElement.parse(XContentParser parser,
SearchContext context) |
void |
PostFilterParseElement.parse(XContentParser parser,
SearchContext context) |
void |
FromParseElement.parse(XContentParser parser,
SearchContext context) |
void |
TerminateAfterParseElement.parse(XContentParser parser,
SearchContext context) |
void |
MinScoreParseElement.parse(XContentParser parser,
SearchContext context) |
void |
FilterBinaryParseElement.parse(XContentParser parser,
SearchContext context) |
void |
QueryBinaryParseElement.parse(XContentParser parser,
SearchContext context) |
void |
IndicesBoostParseElement.parse(XContentParser parser,
SearchContext context) |
void |
TimeoutParseElement.parse(XContentParser parser,
SearchContext context) |
Modifier and Type | Method and Description |
---|---|
RescoreSearchContext |
Rescorer.parse(XContentParser parser,
SearchContext context)
Parses the
RescoreSearchContext for this impelementation |
void |
RescoreParseElement.parse(XContentParser parser,
SearchContext context) |
RescoreSearchContext |
QueryRescorer.parse(XContentParser parser,
SearchContext context) |
void |
RescoreParseElement.parseSingleRescoreContext(XContentParser parser,
SearchContext context) |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.search.SortField |
SortParser.parse(XContentParser parser,
SearchContext context) |
void |
SortParseElement.parse(XContentParser parser,
SearchContext context) |
org.apache.lucene.search.SortField |
GeoDistanceSortParser.parse(XContentParser parser,
SearchContext context) |
void |
TrackScoresParseElement.parse(XContentParser parser,
SearchContext context) |
org.apache.lucene.search.SortField |
ScriptSortParser.parse(XContentParser parser,
SearchContext context) |
Modifier and Type | Method and Description |
---|---|
SuggestionSearchContext.SuggestionContext |
SuggestContextParser.parse(XContentParser parser,
MapperService mapperService) |
void |
SuggestParseElement.parse(XContentParser parser,
SearchContext context) |
static boolean |
SuggestUtils.parseDirectSpellcheckerSettings(XContentParser parser,
String fieldName,
DirectSpellcheckerSettings suggestion) |
SuggestionSearchContext |
SuggestParseElement.parseInternal(XContentParser parser,
MapperService mapperService,
String index,
int shardId) |
static boolean |
SuggestUtils.parseSuggestContext(XContentParser parser,
MapperService mapperService,
String fieldName,
SuggestionSearchContext.SuggestionContext suggestion) |
Modifier and Type | Method and Description |
---|---|
SuggestionSearchContext.SuggestionContext |
CompletionSuggestParser.parse(XContentParser parser,
MapperService mapperService) |
Modifier and Type | Method and Description |
---|---|
ContextMapping.ContextConfig |
GeolocationContextMapping.parseContext(ParseContext parseContext,
XContentParser parser) |
abstract ContextMapping.ContextConfig |
ContextMapping.parseContext(ParseContext parseContext,
XContentParser parser)
A
ContextMapping combined with the information provided by a document
form a ContextMapping.ContextConfig which is used to build the underlying FST. |
ContextMapping.ContextConfig |
CategoryContextMapping.parseContext(ParseContext parseContext,
XContentParser parser) |
static List<ContextMapping.ContextQuery> |
ContextMapping.ContextQuery.parseQueries(Map<String,ContextMapping> mappings,
XContentParser parser)
Parse a set of
ContextMapping.ContextQuery according to a given mapping |
org.elasticsearch.search.suggest.context.GeolocationContextMapping.GeoQuery |
GeolocationContextMapping.parseQuery(String name,
XContentParser parser) |
abstract ContextMapping.ContextQuery |
ContextMapping.parseQuery(String name,
XContentParser parser)
Parse a query according to the context.
|
org.elasticsearch.search.suggest.context.CategoryContextMapping.FieldQuery |
CategoryContextMapping.parseQuery(String name,
XContentParser parser) |
protected static Collection<String> |
GeolocationContextMapping.parseSinglePointOrList(XContentParser parser) |
Modifier and Type | Method and Description |
---|---|
SuggestionSearchContext.SuggestionContext |
PhraseSuggestParser.parse(XContentParser parser,
MapperService mapperService) |
void |
PhraseSuggestParser.parseSmoothingModel(XContentParser parser,
org.elasticsearch.search.suggest.phrase.PhraseSuggestionContext suggestion,
String fieldName) |
Modifier and Type | Method and Description |
---|---|
SuggestionSearchContext.SuggestionContext |
TermSuggestParser.parse(XContentParser parser,
MapperService mapperService) |
Modifier and Type | Method and Description |
---|---|
IndexWarmersMetaData |
IndexWarmersMetaData.Factory.fromXContent(XContentParser parser) |
Modifier and Type | Method and Description |
---|---|
static SnapshotShardFailure |
SnapshotShardFailure.fromXContent(XContentParser parser)
Deserializes snapshot failure information from JSON
|
Copyright © 2009–2015. All rights reserved.