lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "mahdi yari" <yarima...@gmail.com>
Subject Re: Equal distribution over a field
Date Fri, 17 Oct 2008 08:32:02 GMT
i think you can use SortComparatorSource to control on sort of documents.
but i can not understand your problem correctly


On Thu, Oct 16, 2008 at 6:14 PM, Anselmo <anselm.bauer@googlemail.com>wrote:

>
> I am using Lucene to search for products in an online-shop with several
> shops, brands etc.
>
> Is it possible to sort documents with the same score, in a way that a field
> (e.g. the brand field) is equally distributed. Otherwise, the products are
> sorted by the appearance of the brands in the database and brands at the
> end
> of the database are at the end of the pagination.
>
> I want to avoid a random order of products...
> --
> View this message in context:
> http://www.nabble.com/Equal-distribution-over-a-field-tp20014829p20014829.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

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