index
|
string - The index in which the document resides.
|
type
|
string - The type of the document.
|
id
|
string - The id of the document, when not specified a doc param should be supplied.
|
term_statistics or termStatistics
|
boolean - Specifies if total term frequency and document frequency should be returned.
|
field_statistics or fieldStatistics
|
boolean - Specifies if document count, sum of document frequencies and sum of total term frequencies should be returned.
Default: true
|
fields
|
string | string[] - A comma-separated list of fields to return.
|
offsets
|
boolean - Specifies if term offsets should be returned.
Default: true
|
positions
|
boolean - Specifies if term positions should be returned.
Default: true
|
payloads
|
boolean - Specifies if term payloads should be returned.
Default: true
|
preference
|
string - Specify the node or shard the operation should be performed on (default: random).
|
routing
|
string - Specific routing value.
|
parent
|
string - Parent id of documents.
|
realtime
|
boolean - Specifies if request is real-time as opposed to near-real-time (default: true).
|
version
|
number - Explicit version number for concurrency control
|
version_type or versionType
|
'internal' | 'external' | 'external_gte' | 'force' - Specific version type
|
body
|
object - Define parameters and or supply a document to get termvectors for. See documentation.
|