You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Joe Obernberger <jo...@gmail.com> on 2016/07/20 21:46:54 UTC
AutoAddReplicas
Hi - I'm not sure how to enable autoAddReplicas to be true for
collections. According to here:
https://cwiki.apache.org/confluence/display/solr/Running+Solr+on+HDFS
it is specified in solr.xml, but I tried adding:
<bool name="autoAddReplicas">true</bool>
and that results in an error. What am I doing wrong?
Thanks!
-Joe
Re: AutoAddReplicas
Posted by Erick Erickson <er...@gmail.com>.
Easy to do.....
Glad it's working for you.
Erick
On Wed, Jul 20, 2016 at 6:02 PM, Joe Obernberger
<jo...@gmail.com> wrote:
> Thank you Erick! I miss-read the webpage.
>
> -Joe
>
>
> On 7/20/2016 7:57 PM, Erick Erickson wrote:
>>
>> autoAddReplicas is _not_ specified in solr.xml. The things you can
>> change in solr.xml are some of the properties used in dealing with
>> collections _created_ with autoAddReplicas. See the CREATE action in
>> the collections API here:
>>
>> https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-api1
>>
>> Best,
>> Erick
>>
>> On Wed, Jul 20, 2016 at 2:46 PM, Joe Obernberger
>> <jo...@gmail.com> wrote:
>>>
>>> Hi - I'm not sure how to enable autoAddReplicas to be true for
>>> collections.
>>> According to here:
>>> https://cwiki.apache.org/confluence/display/solr/Running+Solr+on+HDFS
>>> it is specified in solr.xml, but I tried adding:
>>>
>>> <bool name="autoAddReplicas">true</bool>
>>>
>>> and that results in an error. What am I doing wrong?
>>> Thanks!
>>>
>>> -Joe
>>>
>
Re: AutoAddReplicas
Posted by Joe Obernberger <jo...@gmail.com>.
Thank you Erick! I miss-read the webpage.
-Joe
On 7/20/2016 7:57 PM, Erick Erickson wrote:
> autoAddReplicas is _not_ specified in solr.xml. The things you can
> change in solr.xml are some of the properties used in dealing with
> collections _created_ with autoAddReplicas. See the CREATE action in
> the collections API here:
> https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-api1
>
> Best,
> Erick
>
> On Wed, Jul 20, 2016 at 2:46 PM, Joe Obernberger
> <jo...@gmail.com> wrote:
>> Hi - I'm not sure how to enable autoAddReplicas to be true for collections.
>> According to here:
>> https://cwiki.apache.org/confluence/display/solr/Running+Solr+on+HDFS
>> it is specified in solr.xml, but I tried adding:
>>
>> <bool name="autoAddReplicas">true</bool>
>>
>> and that results in an error. What am I doing wrong?
>> Thanks!
>>
>> -Joe
>>
Re: AutoAddReplicas
Posted by Erick Erickson <er...@gmail.com>.
autoAddReplicas is _not_ specified in solr.xml. The things you can
change in solr.xml are some of the properties used in dealing with
collections _created_ with autoAddReplicas. See the CREATE action in
the collections API here:
https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-api1
Best,
Erick
On Wed, Jul 20, 2016 at 2:46 PM, Joe Obernberger
<jo...@gmail.com> wrote:
> Hi - I'm not sure how to enable autoAddReplicas to be true for collections.
> According to here:
> https://cwiki.apache.org/confluence/display/solr/Running+Solr+on+HDFS
> it is specified in solr.xml, but I tried adding:
>
> <bool name="autoAddReplicas">true</bool>
>
> and that results in an error. What am I doing wrong?
> Thanks!
>
> -Joe
>