Re: Java heap space
On 5/15/06, Marcus Stratmann [EMAIL PROTECTED] wrote: The only situation I get OutOfMemory errors is after an optimize when the server performs an auto-warming of the cahces: A single filter that is big enough to be represented as a bitset (3000 in general) will take up 1.3MB Some ways to help memory: - increase the heap size ;-) - make sure you don't have autowarming for more than one searcher happening at a time. If this happens, you should see something in your logs like PERFORMANCE WARNING: Overlapping onDeckSearchers=2 - do omitNorms on every field you can... every field with norms will take up 1 byte per document (11MB in your case) - make caches smaller if you can survive the performance hit... A single filter that is represented as a BitSet will take up 1.3MB for 11M docs (and bigger in the case that maxDocs is larger tha numDocs because of deletions). -Yonik
Re: Separate config and index per webapp
On 5/15/06, Michael Levy [EMAIL PROTECTED] wrote: I'd like to use Solr for a number of separate projects running on a single Tomcat instance; I thought I would have Solr running a separate webapp for each project. I understand that the default location for the solrconfig.xml and schema.xml files and for the index are under Tomcat's current-working-directory/solr/conf I am hoping I can change the default location for each webapp. Thanks! It's not yet possible, but see this thread: http://www.mail-archive.com/solr-dev@lucene.apache.org/msg00298.html It looks like JNDI offers the easiest portable way. The main SolrServlet would then need to be modified to do a JNDI lookup and base config off of that. I worked around it this way: http://www.mail-archive.com/solr-dev@lucene.apache.org/msg00321.html -- Ken -- Ken Krugler Krugle, Inc. +1 530-210-6378 Find Code, Find Answers
Documentation?
I was checking around the solr site and pages at apache.org and wasn't finding much. Before jumping into the code, I'd like to get as familiar with solr as I could from existing docs or the like. Can someone point me in the direction? thanks, jeff r.