SOLR 中有一批document,如下:
id:1, year:2008, name:Test1
id:2, year:2008, name:Test1
id:3, year:2008, name:Test2
id:4, year:2009, name:Test1
...
现在有需求是查询 连续5年内,**同一name的facet下count在1-6之间的所有结果集**
1、如何实现连续5年内?
2、facet在pivot后如何针对count进行范围查询?
SOLR 中有一批document,如下:
id:1, year:2008, name:Test1
id:2, year:2008, name:Test1
id:3, year:2008, name:Test2
id:4, year:2009, name:Test1
...
现在有需求是查询 连续5年内,**同一name的facet下count在1-6之间的所有结果集**
1、如何实现连续5年内?
2、facet在pivot后如何针对count进行范围查询?