Re: Query building performance

2012-01-17 Thread Ian Lea
> I have a situation where there are users that create n keywords. I'm storing > them as individual DB fields for aggregating scores and then building the > query from the fields. Is it faster for Lucene to parse a query of terms > that are OR'd together or to build it up as a loop of BooleanQuery

Re: Error when opening a lucene index: Map failed

2012-01-17 Thread Frank Moss
Thanks it solved the problem. On Tue, Jan 17, 2012 at 12:12 PM, Ian Lea wrote: > Try $ ulimit -v unlimited > > -- > Ian. > > > On Tue, Jan 17, 2012 at 11:05 AM, Frank Moss > wrote: > > Hello, > > > > I am having problems opening a lucene index. The index has been created > on > > the same machi

Re: Error when opening a lucene index: Map failed

2012-01-17 Thread Ian Lea
Try $ ulimit -v unlimited -- Ian. On Tue, Jan 17, 2012 at 11:05 AM, Frank Moss wrote: > Hello, > > I am having problems opening a lucene index. The index has been created on > the same machine.  The size of index is 44G. Its a 64bit machine running > OpenSuse. > > I have tried starting the java

Error when opening a lucene index: Map failed

2012-01-17 Thread Frank Moss
Hello, I am having problems opening a lucene index. The index has been created on the same machine. The size of index is 44G. Its a 64bit machine running OpenSuse. I have tried starting the java process with 1,2,3,4 GB of memory but still get the same error. Any tips? The gc log shows that its r