Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 45513 invoked from network); 4 Apr 2008 16:50:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Apr 2008 16:50:10 -0000 Received: (qmail 34478 invoked by uid 500); 4 Apr 2008 16:50:03 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 34453 invoked by uid 500); 4 Apr 2008 16:50:03 -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 34442 invoked by uid 99); 4 Apr 2008 16:50:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Apr 2008 09:50:03 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 76.13.13.65 is neither permitted nor denied by domain of flemingshi@gmail.com) Received: from [76.13.13.65] (HELO n2a.bullet.mail.ac4.yahoo.com) (76.13.13.65) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 04 Apr 2008 16:49:11 +0000 Received: from [76.13.13.26] by n2.bullet.mail.ac4.yahoo.com with NNFMP; 04 Apr 2008 08:45:53 -0000 Received: from [68.142.194.243] by t3.bullet.mail.ac4.yahoo.com with NNFMP; 04 Apr 2008 16:49:28 -0000 Received: from [68.142.201.248] by t1.bullet.mud.yahoo.com with NNFMP; 04 Apr 2008 16:49:28 -0000 Received: from [127.0.0.1] by omp409.mail.mud.yahoo.com with NNFMP; 04 Apr 2008 16:49:28 -0000 X-Yahoo-Newman-Id: 271316.33722.bm@omp409.mail.mud.yahoo.com Received: (qmail 79888 invoked from network); 4 Apr 2008 16:49:27 -0000 Received: from unknown (HELO ?10.1.1.152?) (flemingshi@69.36.252.151 with plain) by smtp113.plus.mail.sp1.yahoo.com with SMTP; 4 Apr 2008 16:49:27 -0000 X-YMail-OSG: UxFgyiMVM1kf9CVQqK07KTFnzUvtc1iMI2G1TmXcakamE35qku5CYzW5e6FjZ5B00ZWEHTsL.p2TINOzkarzsGjSKaGm X-Yahoo-Newman-Property: ymail-3 Message-Id: <1A62FFCF-90D8-419F-B8A4-BCB5523D6C19@gmail.com> From: Fleming Shi To: java-user@lucene.apache.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Subject: Ability to sort integer fields on large index Date: Fri, 4 Apr 2008 09:49:26 -0700 X-Mailer: Apple Mail (2.919.2) X-Virus-Checked: Checked by ClamAV on apache.org Here is the problem: - Single Large index with upto 200 million documents - Each document contains field using epoch timestamp format (padding is required when creating range requests) - One of the frequently used search query, a range request on the timestamp field (10 digits) - Other searches are fine, but the search using range request (1207190000 to 1207190258), even small result set, still slow when "sort" is requested My questions: - Is Lucene sorting then search or is it doing search then sort the results? - Is there a way to get this type of searches to return faster with heavier weight on the timestamp not on relevancy? Any insight would be greatly appreciated /Regards --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org