Elastic Search and “sub queries”

后端 未结 1 1466
轮回少年
轮回少年 2021-01-05 10:40

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 searc

1条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-05 11:08

    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

    0 讨论(0)
提交回复
热议问题