Re: Solr real time update

2011-11-23 Thread yu shen
Thanks for the information. I will play with it. Spark 2011/11/23 Nagendra Nagarajayya > Spark: > > Solr with RankingAlgorithm is not a plugin but a change of search library > from Lucene to RankingAlgorithm. Here is more info on the changes you will > need to make to your solrconfig.xml: > > h

Re: Solr real time update

2011-11-22 Thread Nagendra Nagarajayya
Spark: Solr with RankingAlgorithm is not a plugin but a change of search library from Lucene to RankingAlgorithm. Here is more info on the changes you will need to make to your solrconfig.xml: http://solr-ra.tgels.org/wiki/en/Near_Real_Time_Search Regards, - Nagendra Nagrajayya http://solr-

Re: Solr real time update

2011-11-22 Thread yu shen
Hi Nagarajayya, Thanks for your information. Do I need to change any configuration of my current solr server to integrate your plugin? Spark 2011/11/22 Nagendra Nagarajayya > Yu: > > To get Near Real Time update in Solr 1.4.1 you will need to use Solr 1.4.1 > with RankingAlgorithm. This allow

Re: Solr real time update

2011-11-22 Thread Nagendra Nagarajayya
Yu: To get Near Real Time update in Solr 1.4.1 you will need to use Solr 1.4.1 with RankingAlgorithm. This allows you to update documents in near real time. You can download and give this a try from here: http://solr-ra.tgels.org/ Regards, - Nagendra Nagarajayya http://solr-ra.tgels.org/ ht

Re: Solr real time update

2011-11-21 Thread yu shen
Hi All, After some study, I used below snippet. Seems the documents is updated, while still takes a long time. Feels like the parameter does not take effect. Any comments? UpdateRequest req = new UpdateRequest(); req.add(solrDocs); req.setCommitWithin(5000); req

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