How are you committing? did you use the commit script?



On Thu, Jul 10, 2008 at 7:39 PM, Jacob Singh <[EMAIL PROTECTED]> wrote:
> Thanks Noble, kya bath hai?  Nice Hindi :)  Can't read the Thai.
Knowing Thai may not help. That is Malayalam
>
> I will look into the listener, but what about the first part of my
> question?  It says it is failing, but doesn't look like it, but then I
> have nothing to go on.
>
> Best,
> Jacob
>
>
> Noble Paul നോബിള്‍ नोब्ळ् wrote:
>> Commmit automaticallly does not create snapshots. You must register
>> the listener to do so
>>
>> http://wiki.apache.org/solr/CollectionDistribution#head-532ab57f4a3a9cc3ce129a9fb698a01aceb6d0c2
>>
>> --Noble
>>
>>
>> On Thu, Jul 10, 2008 at 11:56 AM, Jacob Singh <[EMAIL PROTECTED]> wrote:
>>> Hi,
>>>
>>> I'm trying to get replication working, and it's failing because commit
>>> refuses to work (at least as I understand it).
>>>
>>> I run commit and point it to the update URL.  I know the URL is correct,
>>> because solr returns something to me:
>>>
>>> commit request to Solr at http://solr.solrflare.com:8080/solr/ai5/update
>>> failed:
>>> <?xml version="1.0" encoding="UTF-8"?> <response> <lst
>>> name="responseHeader"><int name="status">0</int><int
>>> name="QTime">4</int></lst> </response>
>>>
>>>
>>> Oddly, the code in commit which generates this error is:
>>>
>>> echo $rs | grep '<result.*status="0"' > /dev/null 2>&1
>>>
>>> Is the code wrong?  should it grep for the int name="status" node being 0?
>>>
>>> Also, from my understanding, commit should also generate a snapshot, but
>>>  this doesn't happen.  That is, I update nodes, but I don't get any
>>> snapshots.  If I run snapshooter, it works fine (other than that I can't
>>> install it, because the slave calls commit on the master via SSH.
>>>
>>> Thanks for your help as always.  Please let me know if I should write a
>>> patch for the first thing.
>>>
>>> Best,
>>> Jacob
>>>
>
>



-- 
--Noble Paul

Reply via email to