Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 88719 invoked from network); 20 Mar 2008 14:26:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Mar 2008 14:26:31 -0000 Received: (qmail 96634 invoked by uid 500); 20 Mar 2008 14:26:21 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 96597 invoked by uid 500); 20 Mar 2008 14:26:21 -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 96586 invoked by uid 99); 20 Mar 2008 14:26:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Mar 2008 07:26:21 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of cambazz@gmail.com designates 72.14.220.159 as permitted sender) Received: from [72.14.220.159] (HELO fg-out-1718.google.com) (72.14.220.159) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Mar 2008 14:25:43 +0000 Received: by fg-out-1718.google.com with SMTP id d23so775521fga.27 for ; Thu, 20 Mar 2008 07:25:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=e2G0voaiWoJILVITz4O8NTWdQbTkx/lHL+8nvdwx3m8=; b=c9mqiQXy4nZ57xVGL/TRPczrWVbNVETUSojFXxVevsTjHY72MySl3EPuvxaxyk/+9NK2hExhIOAw6KoU3OaR5GWoqDMv7I6TslyzZurEXd+Ybxb+NLCjQyAfi/NVELuolkbLBxmWTvwABnN4B3VZ8tpvPYyL14u5XYbHSWjJolU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:mime-version:content-type; b=WlvsNOcsFnwnwntv4M19aIIXlMn5C0+gvC3ucFKZ+jozF9Xyu5FkjW+nu2OtQsYnphDvxpddSp2oEAYjieTHxONAKzHTIwm+8DMgWjpBhVrBuCenUke1+1aBH/ScmMsjNL4/3fcsMEcHWEiASWjm9/w+7OlL7GZWYpZMIMAwcZs= Received: by 10.82.127.14 with SMTP id z14mr4220213buc.3.1206023129623; Thu, 20 Mar 2008 07:25:29 -0700 (PDT) Received: by 10.82.173.16 with HTTP; Thu, 20 Mar 2008 07:25:29 -0700 (PDT) Message-ID: <1bcb7c7f0803200725m54df3031v8b861a3a742a77b@mail.gmail.com> Date: Thu, 20 Mar 2008 16:25:29 +0200 From: "Cam Bazz" To: java-user@lucene.apache.org Subject: using hitcollector and scoring at the same time MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_690_434884.1206023129622" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_690_434884.1206023129622 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello, I recently changed my query logic. Before, I was getting a hits object, and now I am using a bitSet with a hitcollector. The reason for using bitSet is document caching, and being able to count how many hits belong to which categories. Although my new logic works, I have noticed that now the resulting documents is not in order of boost (naturally). Is there an easy way to accomplish this? Any ideas / recomendations greatly appreciated. Best. -C.B. ------=_Part_690_434884.1206023129622--