Java Mailing List Archive

http://www.java2.5341.com/

Home » java-user.lucene »

Equal distribution over a field

Anselmo

2008-10-16

Replies: Find Java Web Hosting

Author LoginPost Reply

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...
--
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@(protected)
For additional commands, e-mail: java-user-help@(protected)

©2008 java2.5341.com - Jax Systems, LLC, U.S.A.