What is the ElasticSearch equivalent for an SQL subquery?

后端 未结 3 641
刺人心
刺人心 2020-12-06 10:06

Can you nest queries logically in ElasticSearch, so the output of one query is the input to another query. Another, way to ask is how can I chain or pipe queries together?

3条回答
  •  情深已故
    2020-12-06 10:47

    That is totally correct, you must programm a subquery in your favorite programming language. An example can be found here:

    http://www.sebastianviereck.de/en/elasticsearch-subquery-scoring-optimization/

提交回复
热议问题