Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 38549 invoked from network); 16 Oct 2008 14:46:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Oct 2008 14:46:02 -0000 Received: (qmail 61373 invoked by uid 500); 16 Oct 2008 14:45:56 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 61336 invoked by uid 500); 16 Oct 2008 14:45:56 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 61310 invoked by uid 99); 16 Oct 2008 14:45:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Oct 2008 07:45:56 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Oct 2008 14:44:47 +0000 Received: from [192.168.236.156] (helo=isper.nabble.com) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KqU6O-0008IQ-Ce for java-user@lucene.apache.org; Thu, 16 Oct 2008 07:45:24 -0700 Message-ID: <20014829.post@talk.nabble.com> Date: Thu, 16 Oct 2008 07:44:34 -0700 (PDT) From: Anselmo To: java-user@lucene.apache.org Subject: Equal distribution over a field MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: anselm.bauer@googlemail.com X-Virus-Checked: Checked by ClamAV on apache.org 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