From aa809e2d7fcd2ecedd4d1e1348a9fb2e1e51ce80 Mon Sep 17 00:00:00 2001 From: Bruno Bonnin Date: Mon, 28 Dec 2015 15:47:42 +0100 Subject: [PATCH] Update elasticsearch.md --- docs/interpreter/elasticsearch.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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: