Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecated params ttl and timestamp from whitelist #894

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions docs/build/Elasticsearch/Client.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -510,8 +510,6 @@ $params['index'] = (string) The name of the index (Required)
['replication'] = (enum) Specific replication type
['routing'] = (string) Specific routing value
['timeout'] = (time) Explicit operation timeout
['timestamp'] = (time) Explicit timestamp for the document
['ttl'] = (duration) Expiration time for the document
['version'] = (number) Explicit version number for concurrency control
['version_type'] = (enum) Specific version type
['body'] = (array) The document
Expand Down Expand Up @@ -572,8 +570,6 @@ $params['index'] = (string) The name of the index (Required)
['replication'] = (enum) Specific replication type
['routing'] = (string) Specific routing value
['timeout'] = (time) Explicit operation timeout
['timestamp'] = (time) Explicit timestamp for the document
['ttl'] = (duration) Expiration time for the document
['version'] = (number) Explicit version number for concurrency control
['version_type'] = (enum) Specific version type
['body'] = (array) The document
Expand Down Expand Up @@ -850,8 +846,6 @@ $params['id'] = (string) Document ID (Required)
['routing'] = (string) Specific routing value
['script'] = () The URL-encoded script definition (instead of using request body)
['timeout'] = (time) Explicit operation timeout
['timestamp'] = (time) Explicit timestamp for the document
['ttl'] = (duration) Expiration time for the document
['version_type'] = (number) Explicit version number for concurrency control
['body'] = (array) The request definition using either `script` or partial `doc`
['body'] = (array) Request body
Expand Down
2 changes: 0 additions & 2 deletions src/Elasticsearch/Endpoints/Create.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,6 @@ public function getParamWhitelist()
'replication',
'routing',
'timeout',
'timestamp',
'ttl',
'version',
'version_type',
'pipeline'
Expand Down
2 changes: 0 additions & 2 deletions src/Elasticsearch/Endpoints/Index.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,6 @@ public function getParamWhitelist()
'replication',
'routing',
'timeout',
'timestamp',
'ttl',
'version',
'version_type',
'pipeline',
Expand Down
2 changes: 0 additions & 2 deletions src/Elasticsearch/Endpoints/Update.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,6 @@ public function getParamWhitelist()
'routing',
'script',
'timeout',
'timestamp',
'ttl',
'version',
'version_type',
'_source',
Expand Down