Spring Data Solr Facet Range示例?

时间:2015-06-17 18:19:49

标签: spring solr range facet faceted-search

使用Spring数据solr 1.4 - 我FacetQuery定义如下:

@Facet(fields = { "client", "state", “market”, “price"  }, limit = 10)
FacetPage<SearchResponse> findTerm(String fieldName, String fieldValue, String filterField, String filterValue, Pageable pageable);

如何在分面价格中添加范围?我不想要所有的单个值,但是10-20,20-30,30-40等等。

1 个答案:

答案 0 :(得分:0)

似乎还是一个悬而未决的问题。校验: https://github.com/spring-projects/spring-data-solr/pull/29