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) |
static ByteSizeValue |
ByteSizeValue.parseBytesSizeValue(String sValue,
ByteSizeValue defaultValue) |
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(byte[] data,
boolean ordered) |
static Tuple<XContentType,Map<String,Object>> |
XContentHelper.convertToMap(byte[] data,
int offset,
int length,
boolean ordered) |
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(byte[] bytes,
int offset,
int length) |
static Map<String,Object> |
SourceLookup.sourceAsMap(BytesReference source) |
static Tuple<XContentType,Map<String,Object>> |
SourceLookup.sourceAsMapAndType(byte[] bytes,
int offset,
int length) |
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) |
static SortedMap<String,ContextMapping> |
ContextBuilder.loadMappings(Object configuration) |
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) |
Copyright © 2009–2015. All rights reserved.