| 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 |
TermVectorsRequest.parseRequest(TermVectorsRequest termVectorsRequest,
XContentParser parser)
populates a request object (pre-populated with defaults) based on a parser.
|
| Modifier and Type | Method and Description |
|---|---|
IndexMetaData.Custom |
IndexMetaData.Custom.fromXContent(XContentParser parser) |
static IndexMetaData |
IndexMetaData.Builder.fromXContent(XContentParser parser) |
RepositoriesMetaData |
RepositoriesMetaData.fromXContent(XContentParser parser) |
MetaData.Custom |
MetaData.Custom.fromXContent(XContentParser parser) |
static MetaData |
MetaData.Builder.fromXContent(XContentParser parser) |
static AliasMetaData |
AliasMetaData.Builder.fromXContent(XContentParser parser) |
IndexMetaData |
IndexMetaData.fromXContent(XContentParser parser,
ParseFieldMatcher parseFieldMatcher) |
MetaData |
MetaData.fromXContent(XContentParser parser,
ParseFieldMatcher parseFieldMatcher) |
static IndexTemplateMetaData |
IndexTemplateMetaData.Builder.fromXContent(XContentParser parser,
String templateName) |
void |
MappingMetaData.parse(XContentParser parser,
MappingMetaData.ParseContext parseContext) |
| Modifier and Type | Method and Description |
|---|---|
MoveAllocationCommand |
MoveAllocationCommand.Factory.fromXContent(XContentParser parser) |
static AllocationCommands |
AllocationCommands.fromXContent(XContentParser parser)
Reads
AllocationCommands from a XContentParser |
AllocateAllocationCommand |
AllocateAllocationCommand.Factory.fromXContent(XContentParser parser) |
CancelAllocationCommand |
CancelAllocationCommand.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,
GeoShapeFieldMapper mapper)
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.
|
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) |
void |
XContentGenerator.copyCurrentStructure(XContentParser parser) |
XContentBuilder |
XContentBuilder.copyCurrentStructure(XContentParser parser) |
T |
FromXContentBuilder.fromXContent(XContentParser parser,
ParseFieldMatcher parseFieldMatcher)
Parses an object with the type T from 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) |
static SourceToParse |
SourceToParse.source(XContentParser parser) |
| Modifier and Type | Method and Description |
|---|---|
XContentParser |
QueryParseContext.parser() |
| Modifier and Type | Method and Description |
|---|---|
ParsedQuery |
IndexQueryParserService.parse(QueryParseContext context,
XContentParser parser) |
static Template |
TemplateQueryParser.parse(String defaultLang,
XContentParser parser,
ParseFieldMatcher parseFieldMatcher,
String... parameters) |
ParsedQuery |
IndexQueryParserService.parse(XContentParser parser) |
static Template |
TemplateQueryParser.parse(XContentParser parser,
Map<String,ScriptService.ScriptType> parameterMap,
ParseFieldMatcher parseFieldMatcher) |
static Template |
TemplateQueryParser.parse(XContentParser parser,
ParseFieldMatcher parseFieldMatcher) |
static MoreLikeThisQueryBuilder.Item |
MoreLikeThisQueryBuilder.Item.parse(XContentParser parser,
ParseFieldMatcher parseFieldMatcher,
MoreLikeThisQueryBuilder.Item item)
Parses and returns the given item.
|
static Template |
TemplateQueryParser.parse(XContentParser parser,
ParseFieldMatcher parseFieldMatcher,
String... parameters) |
ParsedQuery |
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 |
ScoreFunctionParser.parse(QueryParseContext parseContext,
XContentParser parser) |
ScoreFunction |
DecayFunctionParser.parse(QueryParseContext parseContext,
XContentParser parser)
Parses bodies of the kind
|
| 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.FileInfo |
BlobStoreIndexShardSnapshot.FileInfo.fromXContent(XContentParser parser)
Parses JSON that represents file info
|
BlobStoreIndexShardSnapshot |
BlobStoreIndexShardSnapshot.fromXContent(XContentParser parser,
ParseFieldMatcher parseFieldMatcher)
Parses shard snapshot metadata
|
BlobStoreIndexShardSnapshots |
BlobStoreIndexShardSnapshots.fromXContent(XContentParser parser,
ParseFieldMatcher parseFieldMatcher) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract S |
AbstractScriptParser.createSimpleScript(XContentParser parser) |
static Template |
Template.parse(XContentParser parser,
Map<String,ScriptService.ScriptType> additionalTemplateFieldNames,
ParseFieldMatcher parseFieldMatcher)
Deprecated.
|
static Template |
Template.parse(XContentParser parser,
Map<String,ScriptService.ScriptType> additionalTemplateFieldNames,
String defaultLang,
ParseFieldMatcher parseFieldMatcher)
Deprecated.
|
static Template |
Template.parse(XContentParser parser,
ParseFieldMatcher parseFieldMatcher) |
S |
AbstractScriptParser.parse(XContentParser parser,
ParseFieldMatcher parseFieldMatcher) |
static Script |
Script.parse(XContentParser parser,
ParseFieldMatcher parseFieldMatcher) |
protected abstract String |
AbstractScriptParser.parseInlineScript(XContentParser parser) |
boolean |
ScriptParameterParser.token(String currentFieldName,
XContentParser.Token token,
XContentParser parser,
ParseFieldMatcher parseFieldMatcher) |
| 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 |
AggregationBinaryParseElement.parse(XContentParser parser,
SearchContext context) |
void |
AggregationParseElement.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 |
SamplerParser.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 |
|---|---|
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 |
GeoCentroidParser.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 |
|---|---|
PipelineAggregatorFactory |
PipelineAggregator.Parser.parse(String pipelineAggregatorName,
XContentParser parser,
SearchContext context)
Returns the pipeline aggregator factory with which this parser is
associated.
|
| Modifier and Type | Method and Description |
|---|---|
PipelineAggregatorFactory |
BucketMetricsParser.parse(String pipelineAggregatorName,
XContentParser parser,
SearchContext context) |
| Modifier and Type | Method and Description |
|---|---|
PipelineAggregatorFactory |
BucketScriptParser.parse(String reducerName,
XContentParser parser,
SearchContext context) |
| Modifier and Type | Method and Description |
|---|---|
PipelineAggregatorFactory |
CumulativeSumParser.parse(String pipelineAggregatorName,
XContentParser parser,
SearchContext context) |
| Modifier and Type | Method and Description |
|---|---|
PipelineAggregatorFactory |
DerivativeParser.parse(String pipelineAggregatorName,
XContentParser parser,
SearchContext context) |
| Modifier and Type | Method and Description |
|---|---|
PipelineAggregatorFactory |
BucketSelectorParser.parse(String reducerName,
XContentParser parser,
SearchContext context) |
| Modifier and Type | Method and Description |
|---|---|
PipelineAggregatorFactory |
MovAvgParser.parse(String pipelineAggregatorName,
XContentParser parser,
SearchContext context) |
| Modifier and Type | Method and Description |
|---|---|
PipelineAggregatorFactory |
SerialDiffParser.parse(String reducerName,
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 |
|---|---|
protected abstract void |
FetchSubPhaseParseElement.innerParse(XContentParser parser,
SubPhaseContext fetchSubPhaseContext,
SearchContext searchContext)
Implement the actual parsing here.
|
void |
FieldsParseElement.parse(XContentParser parser,
SearchContext context) |
void |
FetchSubPhaseParseElement.parse(XContentParser parser,
SearchContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
ExplainParseElement.parse(XContentParser parser,
SearchContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
FieldDataFieldsParseElement.innerParse(XContentParser parser,
FieldDataFieldsContext fieldDataFieldsContext,
SearchContext searchContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
InnerHitsParseElement.parse(XContentParser parser,
SearchContext searchContext) |
| 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 |
ProfileParseElement.parse(XContentParser parser,
SearchContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
MinScoreParseElement.parse(XContentParser parser,
SearchContext context) |
void |
FilterBinaryParseElement.parse(XContentParser parser,
SearchContext context) |
void |
QueryParseElement.parse(XContentParser parser,
SearchContext context) |
void |
PostFilterParseElement.parse(XContentParser parser,
SearchContext context) |
void |
TimeoutParseElement.parse(XContentParser parser,
SearchContext context) |
void |
FromParseElement.parse(XContentParser parser,
SearchContext context) |
void |
SizeParseElement.parse(XContentParser parser,
SearchContext context) |
void |
QueryBinaryParseElement.parse(XContentParser parser,
SearchContext context) |
void |
TerminateAfterParseElement.parse(XContentParser parser,
SearchContext context) |
void |
IndicesBoostParseElement.parse(XContentParser parser,
SearchContext context) |
| Modifier and Type | Method and Description |
|---|---|
RescoreSearchContext |
Rescorer.parse(XContentParser parser,
SearchContext context)
Parses the
RescoreSearchContext for this impelementation |
RescoreSearchContext |
QueryRescorer.parse(XContentParser parser,
SearchContext context) |
void |
RescoreParseElement.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) |
org.apache.lucene.search.SortField |
ScriptSortParser.parse(XContentParser parser,
SearchContext context) |
void |
TrackScoresParseElement.parse(XContentParser parser,
SearchContext context) |
| Modifier and Type | Method and Description |
|---|---|
SuggestionSearchContext.SuggestionContext |
CompletionSuggestParser.parse(XContentParser parser,
MapperService mapperService,
IndexQueryParserService queryParserService,
HasContextAndHeaders headersContext) |
| Modifier and Type | Method and Description |
|---|---|
ContextMapping.ContextConfig |
CategoryContextMapping.parseContext(ParseContext parseContext,
XContentParser parser) |
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. |
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.CategoryContextMapping.FieldQuery |
CategoryContextMapping.parseQuery(String name,
XContentParser parser) |
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.
|
protected static Collection<String> |
GeolocationContextMapping.parseSinglePointOrList(XContentParser parser) |
| Modifier and Type | Method and Description |
|---|---|
SuggestionSearchContext.SuggestionContext |
PhraseSuggestParser.parse(XContentParser parser,
MapperService mapperService,
IndexQueryParserService queryParserService,
HasContextAndHeaders headersContext) |
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,
IndexQueryParserService queryParserService,
HasContextAndHeaders headersContext) |
| Modifier and Type | Method and Description |
|---|---|
IndexWarmersMetaData |
IndexWarmersMetaData.fromXContent(XContentParser parser) |
| Modifier and Type | Method and Description |
|---|---|
static Snapshot |
Snapshot.fromXContent(XContentParser parser) |
static SnapshotShardFailure |
SnapshotShardFailure.fromXContent(XContentParser parser)
Deserializes snapshot failure information from JSON
|
Snapshot |
Snapshot.fromXContent(XContentParser parser,
ParseFieldMatcher parseFieldMatcher) |
Copyright © 2009–2017. All rights reserved.