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: u...@thetaphi.de


> -----Original Message-----
> From: Tomislav Poljak [mailto:tpol...@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-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-user-h...@lucene.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to