facet.field: 指定字段 查询:
http://localhost:8984/solr/techproducts/select?q=price:[0 TO 400]&fl=id,name,price&facet=true&facet.field=cat
1
Range> 主要参数:
facet.range: 指定字段
facet.range.start:区间开始值
facet.range.end: 区间结束值
facet.range.gap:步长 http://localhost:8984/solr/techproducts/select?q=price:[0 TO 4000]&fl=id,name,price&facet=true&facet.field=cat&facet.range=price&f.price.facet.range.start=0.0&f.price.facet.range.end=1000.0&f.price.facet.range.gap=100