diff --git a/docs/interpreter/elasticsearch.md b/docs/interpreter/elasticsearch.md index 3dac984707..34a23ba354 100644 --- a/docs/interpreter/elasticsearch.md +++ b/docs/interpreter/elasticsearch.md @@ -110,8 +110,6 @@ With the `search` command, you can send a search query to Elasticsearch. There a * This is a shortcut to a query like that: `{ "query": { "query_string": { "query": "__HERE YOUR QUERY__", "analyze_wildcard": true } } }` * See [Elasticsearch query string syntax](https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html#query-string-syntax) for more details about the content of such a query. -> A search query can also contain [aggregations](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations.html). If there is at least one aggregation, the result of the first aggregation is shown, otherwise, you get the search hits. - ```bash | %elasticsearch @@ -127,6 +125,9 @@ If you want to modify the size of the result set, you can add a line that is set ``` +> A search query can also contain [aggregations](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations.html). If there is at least one aggregation, the result of the first aggregation is shown, otherwise, you get the search hits. + + Examples: * With a JSON query: