Reputation: 1940
I want to find the name of the facets out put based on the results i mean if i have the out put as
<lst name="facet_fields">
<lst name="state">
<int name="kerala">3312</int>
<int name="andaman">10</int>
<int name="andhra">0</int>
<int name="arunachal">0</int>
<int name="assam">0</int>
</lst>
</lst>
i want the result of output as kerala,andaman
as both of them having the count > 0
is there any possibility,please help me on this
Upvotes: 0
Views: 22
Reputation: 15244
I guess you want to specify the minimum count as 1 in your query. It can be achieved using facet.mincount
Upvotes: 2