RE: Out of memory on sorting

2011-05-26 Thread pravesh
For saving Memory: 1. allocate as much memory to the JVM (especially if you are using 64bit OS) 2. You can set "omitNorms=true" for your date & id fields (actually for all fields where index-time boosting & length normalization isn't required. This will require a full reindex) 3. Are you sorting o

Re: Out of memory on sorting

2011-05-19 Thread Erick Erickson
es your statistics page tell you, especially about cache usage? > > All out test case for moving to solr has passed, this is proving to be a big > set back. Help would be greatly appreciated. > > Regards, > Rohit > > > > -Original Message- > From: Erick Eri

RE: Out of memory on sorting

2011-05-19 Thread Rohit
ll out test case for moving to solr has passed, this is proving to be a big set back. Help would be greatly appreciated. Regards, Rohit -Original Message- From: Erick Erickson [mailto:erickerick...@gmail.com] Sent: 19 May 2011 18:21 To: solr-user@lucene.apache.org Subject: Re: Out of memory

Re: Out of memory on sorting

2011-05-19 Thread Erick Erickson
ually search > for anything and the possibilities of queries unlimited. > > How can I make this generic? > > -Rohit > > > > -Original Message- > From: rajini maski [mailto:rajinima...@gmail.com] > Sent: 19 May 2011 14:53 > To: solr-user@lucene.apache.org &g

RE: Out of memory on sorting

2011-05-19 Thread Rohit
? -Rohit -Original Message- From: rajini maski [mailto:rajinima...@gmail.com] Sent: 19 May 2011 14:53 To: solr-user@lucene.apache.org Subject: Re: Out of memory on sorting Explicit Warming of Sort Fields If you do a lot of field based sorting, it is advantageous to add explicitly warming

Re: Out of memory on sorting

2011-05-19 Thread rajini maski
Explicit Warming of Sort Fields If you do a lot of field based sorting, it is advantageous to add explicitly warming queries to the "newSearcher" and "firstSearcher" event listeners in your solrconfig which sort on those fields, so the FieldCache is populated prior to any queries being executed by