better formatting of keywords

This commit is contained in:
Honza Král
2016-02-09 13:51:53 +05:30
parent 4ed675aa3c
commit 90f18fa132
+3 -3
View File
@@ -66,12 +66,12 @@ connection class::
Response Filtering
~~~~~~~~~~~~~~~~~~
The `filter_path` parameter is used to reduce the response returned by
elasticsearch. For example, to only return `_id` and `_type`, do::
The ``filter_path`` parameter is used to reduce the response returned by
elasticsearch. For example, to only return ``_id`` and ``_type``, do::
es.search(index='test-index', filter_path=['hits.hits._id', 'hits.hits._type'])
It also supports the `*` wildcard character to match any field or part of a
It also supports the ``*`` wildcard character to match any field or part of a
field's name::
es.search(index='test-index', filter_path=['hits.hits._*'])