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 <[EMAIL PROTECTED]>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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >