Elastic Search and "sub queries"

Can you perform a subquery in Elastic Search?

I am finding a list of documents (usually about 5-20 documents). For each of the documents I'd like to perform a search to come up with some custom fields for them.

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

Thanks


No, Elastic Search doesn't support subqueries.

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

链接地址: http://www.djcxy.com/p/10314.html

上一篇: Git:如何合并一个小但很老的分支?

下一篇: 弹性搜索和“子查询”