That is quite interesting ! You can use the stats module ( in association with the Json facets if you need it) to calculate an accurate approximation of the unique values [1] [2] .
Good to know it improved your scenario, I may need to update my knowledge of term enum internals! Can you describe your schema configuration for the field and the way you were faceting before in comparison to the way you facet now ( with the related benefit) [1] https://cwiki.apache.org/confluence/display/solr/The+Stats+Component [2] http://yonik.com/solr-count-distinct/ ----- --------------- Alessandro Benedetti Search Consultant, R&D Software Engineer, Director Sease Ltd. - www.sease.io -- View this message in context: http://lucene.472066.n3.nabble.com/prefix-facet-performance-tp4330684p4331309.html Sent from the Solr - User mailing list archive at Nabble.com.