Skip to content

Commit c5233a4

Browse files
szabostevepquentin
andauthored
Apply suggestions from code review
Co-authored-by: Quentin Pradet <quentin.pradet@elastic.co>
1 parent 9522669 commit c5233a4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/sphinx/quickstart.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ Using the client
4545

4646
Time to use Elasticsearch! This section walks you through the most important
4747
operations of Elasticsearch. The following examples assume that the Python
48-
client has already initiated and don't contain the Elasticsearch `include`
49-
statement.
48+
client was instantiated as above.
5049

5150

5251
Creating an index
@@ -94,7 +93,7 @@ This is how you can create a single match query with the Python client:
9493

9594
.. code-block:: python
9695
97-
client.search(index="my_index", query={"match": {"foo": "foo"}})
96+
client.search(index="my_index", query={"match": {"foo": {"query": "foo"}}})
9897
9998
10099
Updating documents

0 commit comments

Comments
 (0)