From 90f18fa132d35f74640810807e628a0c11581b79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Honza=20Kr=C3=A1l?= Date: Tue, 9 Feb 2016 13:51:53 +0530 Subject: [PATCH] better formatting of keywords --- docs/api.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/api.rst b/docs/api.rst index e515aef7..89b38d0a 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -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._*'])