lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noble Paul നോബിള്‍ नोब्ळ्" <noble.p...@gmail.com>
Subject Re: How / Does commit work?
Date Thu, 10 Jul 2008 07:17:43 GMT
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 <jacobsingh@gmail.com> 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
>

Mime
View raw message