Re: Solr real-time update taking time

2011-11-04 Thread Erick Erickson
I think that 1-2 second requirement is unreasonable. The first thing I'd do is push back and understand whether this is actually a requirement or just somebody picking numbers our of thin air. Committing often enough for this to work is just *asking* for trouble with 3.3. I'd take a look at the Ne

Re: Solr real-time update taking time

2011-11-02 Thread Vijay Sampath
Hi Jan, Thanks very much for the suggestion. I used CommitWithin(5000) and the response came down to less than a second. But I see an inconsistent behaviour on the response times. Sometimes it's taking more than 20-25 seconds. May be I'll open up a separate thread. -- View this message in co

Re: Solr real-time update taking time

2011-11-02 Thread Vijay Sampath
I'll try to use CommitWithin. Just to confirm, if I have the value as 2 seconds, will it affect my search performance? To answer you questions, 1. spellCheck is not used with buildOnCommit 2. Index size is 16.1 GB and RAM allocated to JVM 1GB. -- View this message in context: http://lucene.4

Re: Solr real-time update taking time

2011-11-02 Thread Jan Høydahl
Hi, You probably want to use CommitWithin: http://wiki.apache.org/solr/CommitWithin to limit the number of commits to a minimum. Some other questions: * Are you using spellcheck with builtOnCommit? That totally kills commit performance... * What's your index size, total RAM and allocated RAM to