RE: OutOfMemory during optimize

2005-12-22 Thread anton
We increase system parameter "max number open files". For do it use command ulimit -n [max number]. -Original Message- From: Steve Rajavuori [mailto:[EMAIL PROTECTED] Sent: Friday, December 23, 2005 12:42 AM To: lucene-user@jakarta.apache.org Subject: OutOfMemory during optimize I am pe

Re: OutOfMemory during optimize

2005-12-22 Thread Michael D. Curtin
Steve Rajavuori wrote: I am periodically getting "Too many open files" error when searching. Currently there are over 500 files in my Lucene directory. I am attempting to run optimize( ) to reduce the number of files. However, optimize never finishes because whenever I run it, it quits with a

OutOfMemory error during optimize

2005-12-22 Thread Steve Rajavuori
I am periodically getting "Too many open files" error when searching. Currently there are over 500 files in my Lucene directory. I am attempting to run optimize( ) to reduce the number of files. However, optimize never finishes because whenever I run it, it quits with a Java exception OutOfMemor

OutOfMemory during optimize

2005-12-22 Thread Steve Rajavuori
I am periodically getting "Too many open files" error when searching. Currently there are over 500 files in my Lucene directory. I am attempting to run optimize( ) to reduce the number of files. However, optimize never finishes because whenever I run it, it quits with a Java exception OutOfMemor

RE: Basic lucene usage

2005-12-22 Thread Mordo, Aviran (EXP N-NANNATEK)
I'm sorry if I wasn't clear. You can not delete the files themselves, you delete the documents within the index -Original Message- From: John Powers [mailto:[EMAIL PROTECTED] Sent: Thursday, December 22, 2005 4:11 PM To: java-user@lucene.apache.org Subject: RE: Basic lucene usage I am un

RE: Basic lucene usage

2005-12-22 Thread John Powers
I am unable to delete those files while an indexsearcher has them open. Are you sure that's possible (question/response #1)? I sorta have to stick to a single directory. I guess I'll have to work around that. -Original Message- From: Mordo, Aviran (EXP N-NANNATEK) [mailto:[EMAIL PROTECT

RE: Basic lucene usage

2005-12-22 Thread Mordo, Aviran (EXP N-NANNATEK)
-Original Message- From: John Powers [mailto:[EMAIL PROTECTED] Sent: Thursday, December 22, 2005 3:40 PM To: java-user@lucene.apache.org Subject: RE: Basic lucene usage >If you open an indexsearcher and keep a single indexsearcher open for all sessions to use, then can an indexwriter d

RE: Basic lucene usage

2005-12-22 Thread John Powers
If you open an indexsearcher and keep a single indexsearcher open for all sessions to use, then can an indexwriter delete the files and create the new files as needed? To start an indexsearcher, you pass in the directory. Doesn't that tie the searcher to the files? So an indexwriter couldn't

Re: usage of parallelreader

2005-12-22 Thread Otis Gospodnetic
moving this to java-user. Hello, Is anyone using ParallelReader the way Chuck is describing his scenario? I remember looking at the ParallelReader a few months ago and asking myself the same question: how can I update only one of the parallel indices and still keep the documents in two indice