Usage
index(client, ...)
"index"(client, index, type, id, body, consistency = NULL, replication = "sync", version = NULL, version_type = NULL, op_type = NULL, routing = NULL, parent = NULL, timestamp = NULL, ttl = NULL, refresh = FALSE, timeout = "1m", raw = FALSE, validate_params = TRUE)
Arguments
index
String The name of the index
type
String The type of the document
consistency
String Explicit write consistency setting for the operation
replication
String Specific replication type
version
Number Explicit version number for concurrency control
version_type
String Specific version type
routing
String Specific routing value
parent
String ID of the parent document
timestamp
String Explicit timestamp for the document
ttl
Date Expiration time for the document
refresh
Logical Refresh the index after performing the operation
timeout
Date Explicit operation timeout