lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shai Erera <>
Subject Re: Facet Result Order
Date Sun, 14 Dec 2014 13:26:24 GMT
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?


On Fri, Dec 12, 2014 at 8:37 AM, patel mrugesh <>
> 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

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message