Method |
Description |
|
getConsistency ( ) : string |
|
|
getFields ( ) : string |
|
|
getId ( ) : string | integer |
Returns document id. |
|
getIndex ( ) : string |
Get the document index name. |
|
getOpType ( ) : string |
Get operation type. |
|
getOptions ( array $fields = [], boolean $withUnderscore = false ) : array |
|
|
getParent ( ) : string | integer |
Returns the parent document id. |
|
getRefresh ( ) : boolean |
|
|
getReplication ( ) : string |
|
|
getRetryOnConflict ( ) : integer |
|
|
getRouting ( ) : string |
Get routing parameter. |
|
getTimeout ( ) : boolean |
|
|
getTimestamp ( ) : integer |
|
|
getTtl ( ) : string |
|
|
getType ( ) : string |
Return document type name. |
|
getUpsert ( ) : Document |
|
|
getVersion ( ) : string | integer |
Returns document version. |
|
getVersionType ( ) : string | integer |
Returns document version type. |
|
hasConsistency ( ) : boolean |
|
|
hasFields ( ) : boolean |
|
|
hasId ( ) : boolean |
|
|
hasOpType ( ) : boolean |
|
|
hasParent ( ) : boolean |
|
|
hasRefresh ( ) : boolean |
|
|
hasReplication ( ) : boolean |
|
|
hasRetryOnConflict ( ) : boolean |
|
|
hasRouting ( ) : boolean |
|
|
hasTimeout ( ) : boolean |
|
|
hasTimestamp ( ) : boolean |
|
|
hasTtl ( ) : boolean |
|
|
hasUpsert ( ) : boolean |
|
|
hasVersion ( ) : boolean |
|
|
hasVersionType ( ) : boolean |
|
|
setConsistency ( string $timeout ) |
|
|
setFields ( array | string $fields ) |
|
|
setFieldsSource ( ) |
|
|
setId ( string $id ) |
Sets the id of the document. |
|
setIndex ( Index | string $index ) |
Sets the document index name. |
|
setOpType ( string $opType ) |
Set operation type. |
|
setParent ( string | integer $parent ) |
Sets parent document id. |
|
setRefresh ( boolean $refresh = true ) |
|
|
setReplication ( string $timeout ) |
|
|
setRetryOnConflict ( integer $num ) |
|
|
setRouting ( string $value ) |
Set routing query param. |
|
setTimeout ( string $timeout ) |
|
|
setTimestamp ( string $timestamp ) |
|
|
setTtl ( string $ttl ) |
Sets lifetime of document. |
|
setType ( Type | string $type ) |
Sets the document type name. |
|
setUpsert ( Document | array $data ) |
|
|
setVersion ( integer $version ) |
Sets the version of a document for use with optimistic concurrency control. |
|
setVersionType ( string $versionType ) |
Sets the version_type of a document
Default in ES is internal, but you can set to external to use custom versioning. |
|