我是Elasticsearch的新手,所以这是我的疑问:I have large data inserted into Elastic search. The data that I have inserted contains an attribute of marks of each subject, is it possible to write an Elasticsearch query to find the number of students who has their marks in the inputted range.
示例:
|studentname | maths | computers |
++++++++++++++++++++++++++++++++++
|s1 |78 |90 |
==================================
|s2 |56 |75 |
==================================
|s3 |45 |50 |
==================================
假设以表格形式显示在ES中的数据,则有可能
1.Find the list of students who has scored more than 50 marks in computers.
2.Find the list of students who has scored more than 60 marks in both subjects.
最佳答案
关于elasticsearch - Elasticsearch自定义查询以获取特定范围的元素?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43367788/