Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 36189 invoked from network); 25 Sep 2006 15:02:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Sep 2006 15:02:02 -0000 Received: (qmail 91920 invoked by uid 500); 25 Sep 2006 15:01:57 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 91712 invoked by uid 500); 25 Sep 2006 15:01: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 91701 invoked by uid 99); 25 Sep 2006 15:01:56 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Sep 2006 08:01:56 -0700 Authentication-Results: idunn.apache.osuosl.org smtp.mail=info@altervisionmedia.com; spf=permerror X-ASF-Spam-Status: No, hits=2.1 required=5.0 tests=RCVD_IN_NJABL_PROXY,RCVD_IN_SORBS_SOCKS Received-SPF: error (idunn.apache.osuosl.org: domain altervisionmedia.com from 72.29.74.74 cause and error) Received: from [72.29.74.74] ([72.29.74.74:18254] helo=sh58.surpasshosting.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id E6/F9-13750-C4FE7154 for ; Mon, 25 Sep 2006 08:01:35 -0700 Received: from [81.25.38.191] (helo=localhost) by sh58.surpasshosting.com with esmtpa (Exim 4.52) id 1GRrwv-0002zQ-Pa for java-user@lucene.apache.org; Mon, 25 Sep 2006 11:00:50 -0400 Date: Mon, 25 Sep 2006 18:00:34 +0300 From: Yura Smolsky X-Mailer: The Bat! (v3.64.01 Christmas Edition) Professional Reply-To: Yura Smolsky X-Priority: 3 (Normal) Message-ID: <834910708.20060925180034@altervisionmedia.com> To: java-user@lucene.apache.org Subject: Re[2]: how to enhance speed of sorted search In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sh58.surpasshosting.com X-AntiAbuse: Original Domain - lucene.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - altervisionmedia.com X-Source: X-Source-Args: X-Source-Dir: X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello, Aviran. but searcher.explain returns that idf's and scores were still counted. correct me if i am wrong. MAENN> AFAIK when you sort Lucene does not calculate the relevance score. MAENN> Aviran MAENN> http://www.aviransplace.com MAENN> -----Original Message----- MAENN> From: Yura Smolsky [mailto:info@altervisionmedia.com] MAENN> Sent: Monday, September 25, 2006 4:39 AM MAENN> To: java-user@lucene.apache.org MAENN> Subject: how to enhance speed of sorted search MAENN> Hello, java-user. MAENN> I have a set of documents with two fields: MAENN> 1. "summary" which is tokenized, stored. it contains some text 2. MAENN> "date", which is untokenized, stored. it contains seconds from epoch MAENN> aligned to the right and padded with zeroes on the left MAENN> I perform searches which are sorted by "date" field. MAENN> my query is phrase one - summary:"some text bla bla" MAENN> my sort is SortField("modified", SortField.INT, True) MAENN> I don't need to sort documents using "summary" field by relevance. I MAENN> think that by default Lucene spends some operations to score documents MAENN> using query. MAENN> Is there any way to speed up queries? Maybe should I replace query with MAENN> filter? MAENN> The problem that I have very big index, like 80 Gb and I have a lot of MAENN> different queries (about 480 per minute). MAENN> -- MAENN> Yura Smolsky MAENN> --------------------------------------------------------------------- MAENN> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org MAENN> For additional commands, e-mail: java-user-help@lucene.apache.org -- Yura Smolsky, http://altervisionmedia.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org