Solr pivot faceting查询返回一个facet树,例如:
"cat,popularity,inStock":[{
"field":"cat",
"value":"electronics",
"count":14,
"pivot":[{
"field":"popularity",
"value":6,
"count":7,
"pivot":[
{
"field":"inStock",
"value":true,
"count":5
},
{
"field":"inStock",
"value":false,
"count":2
}]},
{
"field":"popularity",
"value":1,
"count":4,
"pivot":[
{
"field":"inStock",
"value":true,
"count":3
},
{
"field":"inStock",
"value":false,
"count":1
}]
]}]
有没有办法指定返回叶子数量的限制(即带有“field”的对象数量:上例中的“inStock”,即4)?
请注意,这与定义各个方面的限制不同,例如“f.popularity.facet.limit”,它仅限制方面树内部节点的程度。
由于