Hi Shai, Thanks for the reply. "refreshed" meaning if I come on facet page after closing it, the order gets changed for the facet having same count. I have already mentioned sample data in my first post. Thanks again,Mrugesh
On Sunday, 14 December 2014 6:56 PM, Shai Erera <ser...@gmail.com> wrote: Hi Mrugesh, This is strange indeed, as the facets are ordered by count, and we use a facet ordinal (integer code) as a tie breaker. What do you mean by "refreshed"? Do you have a sample test that shows this behavior? Shai On Fri, Dec 12, 2014 at 8:37 AM, patel mrugesh <patelmruge...@yahoo.co.in> wrote: Hi All, I am working on Lucene Facet now a day and facet seems working fine. Just one thing that come to my attention is, order of facet results get changed if there is same total count. For example, for country facet following results have been noticed. First time: - USA(10)- India(9)- UK(9) When refreshed, second time, - USA(10)- UK(9) - India(9) When refreshed, third time, - USA(10)- India(9)- UK(9) It would be great if I can have same result every time, I mean order of the result should come same even there is count is same ( in our example either India should come second every time or UK should come second time every time). Thanks in advance,Mrugesh