mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
Update elasticsearch.md
This commit is contained in:
parent
6793232b22
commit
aa809e2d7f
1 changed files with 3 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue