public interface ElasticsearchProjectionConstants
Implementator's note: When adding new constants, be sure to add them to
ElasticsearchHSQueryImpl#SUPPORTED_PROJECTION_CONSTANTS
, too.
Modifier and Type | Field and Description |
---|---|
static String |
ID
Object id property
|
static String |
OBJECT_CLASS
Represents the Hibernate entity class returned in a search.
|
static String |
SCORE
The legacy document's score from a search.
|
static String |
SOURCE
The JSON document as stored in Elasticsearch.
|
static String |
SPATIAL_DISTANCE
Represents the distance (in kilometers) between an entity and the
center of the search area in case of a spatial query.
|
static String |
THIS
Represents the Hibernate entity returned in a search.
|
static String |
TIMED_OUT
Whether the search timed out on the Elasticsearch server or not, as a
Boolean . |
static String |
TOOK
The time Elasticsearch took to execute the search, in milliseconds and as an
Integer . |
static final String THIS
static final String ID
static final String SCORE
static final String OBJECT_CLASS
static final String SPATIAL_DISTANCE
static final String SOURCE
static final String TOOK
Integer
.
The time is computed on the server side.
static final String TIMED_OUT
Boolean
.
Note that a timed-out search may still return results, they are just incomplete.
This does not translate a network timeout while reaching out to the Elasticsearch server, but a timeout internal to Elasticsearch itself.
Copyright © 2006–2017 Hibernate. All rights reserved.