NPE in IndexReader

2007-08-21 Thread Eric Louvard
Hello while calling IndexReader.deletedoc(int) I am becomming a NPE. java.lang.NullPointerException at org.apache.lucene.index.IndexReader.acquireWriteLock(IndexReader.java:658) at org.apache.lucene.index.IndexReader.deleteDocument(IndexReader.java:686) In the acquireWriteLock m

Re: Optimizing index takes too long

2007-11-12 Thread Eric Louvard
You could have a look at this thread. http://www.gossamer-threads.com/lists/lucene/java-user/29354 regards. Barry Forrest schrieb: > Hi, > > Optimizing my index of 1.5 million documents takes days and days. > > I have a collection of 10 million documents that I am trying to index > with Lucene.

TooManyClauses with MultiTermQueries

2006-11-03 Thread Eric Louvard
Hello, in working with Lucene since several years. One of my biggest problem was the unability of lucene to search with wildcard. Also I have develop my own MultiTermQueries. Now there's a standard class for this, but you'll allways become an exception if your search is to generic, 'a*' for ex

Indexing large index with Lucene

2006-09-28 Thread Eric Louvard
I'm using Lucene since several year. We had to index allways more documents. I'm now trying to optimise the index process with more than 1.000.000 documents and I can see that the performance will decrease when the index size is greater. I would like to know if someone as allready studied this

IndexWriter.optimize() need to much time.

2005-10-05 Thread Eric Louvard
Hello, my problem is that IndexWriter.optimize() take 20 minutes. OK it is not a lot of time, but I can't allow me to block the system such a long time :-(. I don't know when I can take the time for optimize(). Has someone allready find a workarround for this problem ? Is it possible to make

Re: IndexWriter.optimize() need to much time.

2005-10-05 Thread Eric Louvard
timization, you should not have any problem with that. Aviran http://www.aviransplace.com -Original Message----- From: Eric Louvard [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 05, 2005 10:10 AM To: java-user@lucene.apache.org Subject: IndexWriter.optimize() need to much time.