Thanks for the information. I will play with it.

Spark

2011/11/23 Nagendra Nagarajayya <nnagaraja...@transaxtions.com>

> 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<http://solr-ra.tgels.org/wiki/en/Near_Real_Time_Search>
>
> Regards,
>
> - Nagendra Nagrajayya
> http://solr-ra.tgels.org/
> http://rankingalgorithm.tgels.**org/ <http://rankingalgorithm.tgels.org/>
>
>
> On 11/22/2011 5:40 PM, yu shen wrote:
>
>> 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<nnagarajayya@**transaxtions.com<nnagaraja...@transaxtions.com>
>> >
>>
>>  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/
>>> http://rankingalgorithm.tgels.****org/<http://**
>>> rankingalgorithm.tgels.org/ <http://rankingalgorithm.tgels.org/>>
>>>
>>>
>>>
>>> On 11/21/2011 9:47 PM, yu shen wrote:
>>>
>>>  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.setParam("commitWithin", "5000");
>>>>             req.setAction(****AbstractUpdateRequest.ACTION.****COMMIT,
>>>> true,
>>>>
>>>> true);
>>>>             req.process(SOLR_SERVER);
>>>>
>>>> 2011/11/22 yu shen<shenyu...@gmail.com>
>>>>
>>>>  Hi All,
>>>>
>>>>> I try to do a 'nearly real time update' to solr.  My solr version is
>>>>> 1.4.1. I read this solr CommentWithin<http://wiki.**
>>>>> apache.org/solr/CommitWithin<h**ttp://wiki.apache.org/solr/**
>>>>> CommitWithin <http://wiki.apache.org/solr/CommitWithin>>>
>>>>> **wiki, and a related
>>>>> thread<http://lucene.472066.****n3.nabble.com/Solr-real-time-****<http://n3.nabble.com/Solr-real-time-**>
>>>>> update-taking-time-td3472709.****html<http://lucene.472066.n3.**
>>>>> nabble.com/Solr-real-time-**update-taking-time-td3472709.**html<http://lucene.472066.n3.nabble.com/Solr-real-time-update-taking-time-td3472709.html>
>>>>> >>mostly
>>>>>
>>>>> on the difficulty to do this.
>>>>>
>>>>> My issue is I tried the code snippet in the wiki:
>>>>>
>>>>> UpdateRequest req = new UpdateRequest();
>>>>> req.add(mySolrInputDocument);
>>>>> req.setCommitWithin(10000);
>>>>> req.process(server);
>>>>>
>>>>> But my index did not get updated, unless I call SOLR_SERVER.commit();
>>>>> explicitly. The latter call will take more than 1 minute on average to
>>>>> return.
>>>>>
>>>>> Can I do a real time update on solr 1.4.1? Would someone help to show a
>>>>> workable code snippet?
>>>>>
>>>>> Spark
>>>>>
>>>>>
>>>>>
>

Reply via email to