MatchAllDocsQuery concurrency issue

2009-08-06 Thread Carl Austin
Hi, I have been seeing an issue running MatchAllDocsQueries concurrently. Running one against a test index is very fast (70 ms). Running two concurrently can take 5-25 seconds on the same test index! This issue doesn't occur with any other type of query I have used. Because of this, I have put

Re: MatchAllDocsQuery concurrency issue

2009-08-06 Thread Michael McCandless
Most likely you're hitting this issue: https://issues.apache.org/jira/browse/LUCENE-1316 Which is fixed in 2.9. Can you try running with 2.9 to confirm? Mike On Thu, Aug 6, 2009 at 8:19 AM, Carl Austincarl.aus...@detica.com wrote: Hi, I have been seeing an issue running

RE: MatchAllDocsQuery concurrency issue

2009-08-06 Thread Carl Austin
@lucene.apache.org Subject: Re: MatchAllDocsQuery concurrency issue Most likely you're hitting this issue: https://issues.apache.org/jira/browse/LUCENE-1316 Which is fixed in 2.9. Can you try running with 2.9 to confirm? Mike On Thu, Aug 6, 2009 at 8:19 AM, Carl Austincarl.aus...@detica.com

Re: MatchAllDocsQuery concurrency issue

2009-08-06 Thread Peter Keegan
...@mikemccandless.com] Sent: 06 August 2009 13:26 To: java-user@lucene.apache.org Subject: Re: MatchAllDocsQuery concurrency issue Most likely you're hitting this issue: https://issues.apache.org/jira/browse/LUCENE-1316 Which is fixed in 2.9. Can you try running with 2.9 to confirm

RE: MatchAllDocsQuery concurrency issue

2009-08-06 Thread Carl Austin
...@mikemccandless.com] Sent: 06 August 2009 13:52 To: java-user@lucene.apache.org Subject: Re: MatchAllDocsQuery concurrency issue Opening your IndexReader with readOnly=true should also fix it, I think. Mike On Thu, Aug 6, 2009 at 8:41 AM, Carl Austincarl.aus...@detica.com wrote: Thanks Mike