Lucene 2.3.1 IndexReader and IndexWriter Synchronization Issues

2008-03-28 Thread Jamie
HI There I keep getting the following error when simultaneously reindexing my documents and searching through the index. java.io.IOException: Cannot overwrite: C:\index9121\_2.cfs at org.apache.lucene.store.FSDirectory.createOutput(FSDirectory.java:433) at org.apache.lucene.index.Compo

Re: from 2.2.0 to 2.3.0

2008-03-28 Thread Michael McCandless
OK, yes, I'm guessing this explains your issue: https://issues.apache.org/jira/browse/JCR-1363 I think Jackrabbit doesn't yet work with Lucene 2.3. But please post back if you see issues with Lucene 2.2! Mike fanfy wrote: Sorry, my mistake, it was 1.4.1 with lucene 2.3.1. Today I upgra

Re: from 2.2.0 to 2.3.0

2008-03-28 Thread fanfy
Sorry, my mistake, it was 1.4.1 with lucene 2.3.1. Today I upgraded to 1.4.2 and in the same time I downgraded the lucene to 2.2.0 and now it works (don't know for how long). So, do you think that this error is related to jackrabbit being developed with an older lucene version? I'll use the 2.2.0

Re: from 2.2.0 to 2.3.0

2008-03-28 Thread Michael McCandless
But, Jackrabbit 1.4.2 was released only yesterday, I think? Also, I think it's based on Lucene 2.2 not 2.3, yet your exception below is a 2.3 exception. Is it possible you're actually using a trunk build of Jackrabbit? Mike fanfy wrote: I'm using jackrabbit 1.4.2. The error doesn't app

Re: from 2.2.0 to 2.3.0

2008-03-28 Thread fanfy
I'm using jackrabbit 1.4.2. The error doesn't appear all the time but when it does the solution is to delete the repository. The test is: @Test public void addDocument() { documentService.importFile("Ana", "doc", new byte[200]); } documentService:

Re: Is there a way to speed up boolean query if I don't care about score?

2008-03-28 Thread Erick Erickson
What about ConstantScoreQuery? Erick On Wed, Mar 26, 2008 at 2:34 PM, Wojtek H <[EMAIL PROTECTED]> wrote: > Hi all, > > Suppose my query has "normal" part for which I want score as usual and > other part which is big disjunction (OR) query for which I just want > documents to match and don't car