Return-Path: X-Original-To: apmail-lucene-java-user-archive@www.apache.org Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2DAF336DB for ; Mon, 2 May 2011 16:15:54 +0000 (UTC) Received: (qmail 88027 invoked by uid 500); 2 May 2011 16:15:52 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 87993 invoked by uid 500); 2 May 2011 16:15:52 -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 87985 invoked by uid 99); 2 May 2011 16:15:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 May 2011 16:15:51 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [85.25.71.29] (HELO mail.troja.net) (85.25.71.29) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 May 2011 16:15:44 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.troja.net (Postfix) with ESMTP id 336E245FB1C for ; Mon, 2 May 2011 18:15:24 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail.troja.net Received: from mail.troja.net ([127.0.0.1]) by localhost (megaira.troja.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Zvt4syNEpBQv for ; Mon, 2 May 2011 18:15:19 +0200 (CEST) Received: from VEGA (WDC-MARE.marum.de [134.102.249.74]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.troja.net (Postfix) with ESMTPSA id CB72D45FAB3 for ; Mon, 2 May 2011 18:15:18 +0200 (CEST) From: "Uwe Schindler" To: References: In-Reply-To: Subject: RE: MultiPhraseQuery slowing down over time in Lucene 3.1 Date: Mon, 2 May 2011 18:15:27 +0200 Message-ID: <002401cc08e4$27670390$76350ab0$@thetaphi.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQJyqe+dqtJASAD2QpVGn831GQ91j5Msc/lw Content-Language: de X-Virus-Checked: Checked by ClamAV on apache.org Can you checkout latest 3.1 branch @ https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_1 And test if it solves your issue. There was aproblem in PhraseQuery's internal sorting and quicksort. It does not slowdown over time, but with type of query (how many terms the phrase contains). Maybe you sort your queries according number of terms and so you get a slowdown. See issue: https://issues.apache.org/jira/browse/LUCENE-3054 ----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: uwe@thetaphi.de > -----Original Message----- > From: Tomislav Poljak [mailto:tpoljak@gmail.com] > Sent: Monday, May 02, 2011 6:01 PM > To: java-user@lucene.apache.org > Subject: MultiPhraseQuery slowing down over time in Lucene 3.1 > > Hi, > after running tests on both MemoryIndex and RAMDirectory based index in > Lucene 3.1, seems MultiPhraseQueries are slowing down over time (each > iteration of executing the same MultiPhraseQueries on the same doc, seems > to require more and more execution time). Are there any existing/known > issues related to the MultiPhraseQuery in Lucene 3.1 which could lead to this > performance drop? > > Tomislav > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org