【发布时间】:2017-04-12 11:04:33
【问题描述】:
我是 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.查找计算机成绩超过50分的学生名单。
2.查找两科均分超过60分的学生名单。
【问题讨论】:
标签: elasticsearch spring-data-elasticsearch