Skip to content

Commit

Permalink
filters is now filter in Analyze endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
polyfractal committed May 9, 2016
1 parent bece0e5 commit 94dbb15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Elasticsearch/Endpoints/Indices/Analyze.php
Expand Up @@ -56,7 +56,7 @@ protected function getParamWhitelist()
return array(
'analyzer',
'field',
'filters',
'filter',
'index',
'prefer_local',
'text',
Expand Down
2 changes: 1 addition & 1 deletion src/Elasticsearch/Namespaces/IndicesNamespace.php
Expand Up @@ -929,7 +929,7 @@ public function open($params)
* $params['index'] = (string) The name of the index to scope the operation
* ['analyzer'] = (string) The name of the analyzer to use
* ['field'] = (string) Use the analyzer configured for this field (instead of passing the analyzer name)
* ['filters'] = (list) A comma-separated list of filters to use for the analysis
* ['filter'] = (list) A comma-separated list of filters to use for the analysis
* ['prefer_local'] = (boolean) With `true`, specify that a local shard should be used if available, with `false`, use a random shard (default: true)
* ['text'] = (string) The text on which the analysis should be performed (when request body is not used)
* ['tokenizer'] = (string) The name of the tokenizer to use for the analysis
Expand Down

0 comments on commit 94dbb15

Please sign in to comment.