Elasticsearch doesn’t support subqueries; you would need to perform your first query, then construct a second query using the results of the first query as an input.
More Related Contents:
- Shards and replicas in Elasticsearch
- ES keeps returning every document
- Elasticsearch: Failed to connect to localhost port 9200 – Connection refused
- Calculating time between events
- Aggregation + sorting +pagination in elastic search
- Make elasticsearch only return certain fields?
- Elasticsearch: Difference between “Term”, “Match Phrase”, and “Query String”
- Remove duplicate documents from a search in Elasticsearch
- Join query in ElasticSearch
- Elasticsearch searchable synthetic fields
- Queries vs. Filters
- Find distinct values, not distinct counts in elasticsearch
- Save Spark Dataframe into Elasticsearch – Can’t handle type exception
- elasticsearch match vs term query
- How to retrieve unique count of a field using Kibana + Elastic Search
- Elasticsearch difference between MUST and SHOULD bool query
- How to change Elasticsearch max memory size
- Find documents with empty string value on elasticsearch
- How to get latest values for each group with an Elasticsearch query?
- What is the maximum Elasticsearch document size?
- How to create unique constraint in Elasticsearch database?
- How to iterate through a nested array in elasticsearch with filter script?
- elasticsearch – querying multiple indexes is possible?
- ElasticSearch – Get only matching nested objects with All Top level fields in search response
- How to bind Elasticsearch 2.0 on both Loopback and Non-Loopback interfaces?
- ElasticSearch: aggregation on _score field?
- How to parse json in logstash /grok from a text file line?
- Logstash: Merge two logs into one output document
- Elasticsearch error: cluster_block_exception [FORBIDDEN/12/index read-only / allow delete (api)], flood stage disk watermark exceeded
- How to create multiple indexes in logstash.conf file?