Elastic Search and Subqueries

Can you do a subquery in Elastic Search?

I find a list of documents (usually around 5-20 documents). For each of the documents, I would like to search to create some custom fields for them.

Each document is a property, and I want to analyze the surrounding properties for each property found to estimate the average price of the properties around it.

thanks

+7
subquery elasticsearch
source share
1 answer

No, Elastic Search does not support subqueries.

You should be able to do this with an ID request:
http://www.elasticsearch.org/guide/reference/query-dsl/ids-query.html

+3
source share

All Articles