Hello, I was a bit confused why my pivot-facette stayed empty, when I sorted it by index. I made no statement about the facet.mincount, because pivot is always displayed with count >= 1
This leads to my case of helplessness. In the class SimpleFacets at line 690 (solr 4.3.1) the limit is decremented every round, justs when its mincount is reached. In my case, the default value 0. Later the fields with count 0 are thrown away. So the limit does not limit the amount of fields which is returned to the client, it limits the count before filtering the 0 counts out. In my case I received an empty pivot list, because the fields with counts >= 1 came after the limit. Changing the facet.limit to my size of all documents OR changing the facet.mincount to 1 helps. What should follow? I slight code change or a wiki entry to the facet.pivot section... ? Best regards Johannes
