diff --git a/elasticsearch/client/__init__.py b/elasticsearch/client/__init__.py index 625dbf7f..1795999e 100644 --- a/elasticsearch/client/__init__.py +++ b/elasticsearch/client/__init__.py @@ -425,7 +425,7 @@ class Elasticsearch(object): @query_params('_source', '_source_exclude', '_source_include', 'analyze_wildcard', 'analyzer', 'default_operator', 'df', - 'explain', 'fields', 'indices_boost', 'lenient', + 'explain', 'fielddata_fields', 'fields', 'indices_boost', 'lenient', 'allow_no_indices', 'expand_wildcards', 'ignore_unavailable', 'lowercase_expanded_terms', 'from_', 'preference', 'q', 'query_cache', 'routing', 'scroll', 'search_type', 'size', 'sort', 'source', 'stats', @@ -456,6 +456,8 @@ class Elasticsearch(object): the query string :arg explain: Specify whether to return detailed information about score computation as part of a hit + :arg fielddata_fields: A comma-separated list of fields to return as the + field data representation of a field for each hit :arg fields: A comma-separated list of fields to return as part of a hit :arg indices_boost: Comma-separated list of index boosts :arg lenient: Specify whether format-based query failures (such as diff --git a/elasticsearch/client/utils.py b/elasticsearch/client/utils.py index f66592bd..7a015a6b 100644 --- a/elasticsearch/client/utils.py +++ b/elasticsearch/client/utils.py @@ -47,7 +47,7 @@ def _make_path(*parts): quote_plus(_escape(p), b',*') for p in parts if p not in SKIP_IN_PATH) # parameters that apply to all methods -GLOBAL_PARAMS = ('pretty', 'format') +GLOBAL_PARAMS = ('pretty', 'format', 'filter_path') def query_params(*es_query_params): """