Top "Elasticsearch-query" questions

Elasticsearch provides a full Query DSL based on JSON to define queries.

elasticsearch group-by multiple fields

I am Looking for the best way to group data in elasticsearch. Elasticsearch doesn't support something like 'group by' in …

elasticsearch group-by elasticsearch-query
Multi-"match-phrase" query in Elastic Search

this should be obvious to me but is not. The following two-match only the second phase (in this case, Cape …

elasticsearch elasticsearch-query match-phrase
How to request a single document by _id via alias?

Is it possible to request a single document by its id by querying an alias, provided that all keys across …

elasticsearch elasticsearch-query
Edge NGram with phrase matching

I need to autocomplete phrases. For example, when I search "dementia in alz", I want to get "dementia in alzheimer's". …

elasticsearch elasticsearch-mapping elasticsearch-query
How to make union query on Elasticsearch?

I would like to make a query with UNION and limit. I can explain that query on mysql. (SELECT * FROM …

elasticsearch querydsl elasticsearch-query
How to filter _source before it is returned back from API?

I have many field in _source of indexed document. However I don't need all of them to be returned form …

elasticsearch elasticsearch-query
Elasticsearch: is bulk search possible?

i know there is support for bulk index operation. but is it possible to do the same for search queries? …

elasticsearch elasticsearch-dsl elasticsearch-query