lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler" <...@thetaphi.de>
Subject RE: MultiPhraseQuery slowing down over time in Lucene 3.1
Date Mon, 02 May 2011 16:15:27 GMT
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


Mime
View raw message