| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
GetResponse.getSourceAsMap()
The source of the document (As a map).
|
| 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 ByteSizeValue |
ByteSizeValue.parseBytesSizeValue(String sValue,
ByteSizeValue defaultValue,
String settingName) |
static ByteSizeValue |
ByteSizeValue.parseBytesSizeValue(String sValue,
String settingName) |
static SizeValue |
SizeValue.parseSizeValue(String sValue) |
static SizeValue |
SizeValue.parseSizeValue(String sValue,
SizeValue defaultValue) |
| Modifier and Type | Method and Description |
|---|---|
static Tuple<XContentType,Map<String,Object>> |
XContentHelper.convertToMap(BytesReference bytes,
boolean ordered) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
GetResult.sourceAsMap()
The source of the document (As a map).
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
SearchHit.sourceAsMap()
The source of the document as a map (can be null).
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
InternalSearchHit.sourceAsMap() |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,Object> |
SourceLookup.sourceAsMap(BytesReference source) |
static Tuple<XContentType,Map<String,Object>> |
SourceLookup.sourceAsMapAndType(BytesReference source) |
| Modifier and Type | Method and Description |
|---|---|
protected static CategoryContextMapping |
CategoryContextMapping.load(String name,
Map<String,Object> config)
Load the specification of a
CategoryContextMapping |
protected static ContextMapping |
ContextBuilder.loadMapping(String name,
Map<String,Object> config,
Version indexVersionCreated) |
static SortedMap<String,ContextMapping> |
ContextBuilder.loadMappings(Object configuration,
Version indexVersionCreated) |
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.
|
Copyright © 2009–2017. All rights reserved.