Skip to content

Commit 4107f6d

Browse files
Apply suggestions from code review
Co-authored-by: Miguel Grinberg <[email protected]>
1 parent 0dd5864 commit 4107f6d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/reference/querying.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ As a result, when you know which namespace and function you need, you can call t
2222
How can you figure out the namespace?
2323

2424
* The [Elasticsearch API docs](https://www.elastic.co/docs/api/doc/elasticsearch/) can help, even though the tags it uses do not fully map to namespaces.
25-
* You can also use the client docs, by:
26-
* browing the [Elasticsearch API Reference](https://elasticsearch-py.readthedocs.io/en/stable/api.html) page, or
27-
* search for your endpoint using [Read the Docs](https://elasticsearch-py.readthedocs.io/) search, which is powered by Elasticsearch!
25+
* You can also use the client documentation, by:
26+
* browsing the [Elasticsearch API Reference](https://elasticsearch-py.readthedocs.io/en/stable/api.html) page, or
27+
* searching for your endpoint using [Read the Docs](https://elasticsearch-py.readthedocs.io/) search, which is powered by Elasticsearch!
2828
* Finally, most examples in the [Elasticsearch guide](https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html) are also available in Python. In the example below, `client.ingest.put_pipeline(...)` is the function that calls the "Create or update a pipeline" API.
2929

3030

@@ -59,7 +59,7 @@ print(resp)
5959

6060
In this case, the client will send to Elasticsearch the following JSON body:
6161

62-
```json
62+
```console
6363
PUT /logs
6464
{
6565
"aliases": {"logs-alias": {}},
@@ -83,7 +83,7 @@ resp = client.indices.create(
8383
print(resp)
8484
```
8585

86-
In the event where an API is missing, you need to call the low-level `perform_request` function:
86+
In the event where an API is missing, you need to use the low-level `perform_request` function:
8787

8888
```python
8989
resp = client.perform_request(

0 commit comments

Comments
 (0)