Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@www.apache.org Received: (qmail 72545 invoked from network); 11 May 2004 14:04:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 11 May 2004 14:04:33 -0000 Received: (qmail 17261 invoked by uid 500); 11 May 2004 14:04:58 -0000 Delivered-To: apmail-jakarta-lucene-user-archive@jakarta.apache.org Received: (qmail 17157 invoked by uid 500); 11 May 2004 14:04:57 -0000 Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Users List" Reply-To: "Lucene Users List" Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 17065 invoked by uid 98); 11 May 2004 14:04:56 -0000 Received: from Eric.Jain@isb-sib.ch by hermes.apache.org by uid 82 with qmail-scanner-1.20 (clamuko: 0.70. Clear:RC:0(192.33.215.142):. Processed in 0.10777 secs); 11 May 2004 14:04:56 -0000 X-Qmail-Scanner-Mail-From: Eric.Jain@isb-sib.ch via hermes.apache.org X-Qmail-Scanner: 1.20 (Clear:RC:0(192.33.215.142):. Processed in 0.10777 secs) Received: from unknown (HELO expasy-ng.isb-sib.ch) (192.33.215.142) by hermes.apache.org with SMTP; 11 May 2004 14:04:56 -0000 Received: from caliente (lin-000 [192.33.215.254]) (authenticated bits=0) by expasy-ng.isb-sib.ch (8.12.10/8.12.8) with ESMTP id i4BE3aJ7000896 for ; Tue, 11 May 2004 16:03:36 +0200 Message-ID: <000d01c43760$c68aa6a0$c300000a@caliente> From: "Eric Jain" To: "Lucene Users List" References: <40A04C41.1070400@ctx.com.au> <007e01c43734$98fe3480$c300000a@caliente> Subject: Re: Mixing database and lucene searches Date: Tue, 11 May 2004 16:03:45 +0200 Organization: Swiss Institute of Bioinformatics MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-sib-MailScanner-Information: Please contact the ISP for more information X-sib-MailScanner: Found to be clean X-Spam-Rating: hermes.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > To ask a silly question: What approach does Lucene use for > ranges and sorting? A range such as '10-60' is expanded into a boolean query containing all terms that are in the index and lie within the specified range, e.g. '10 or 11 or 20 or 59'. For sorting, Lucene loads into memory all terms that occur in a field according to which someone may want to sort. Can't give you any further information, as that's where I stopped reading :-) --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-user-help@jakarta.apache.org