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 Miguel Valencia <mi...@juntadeandalucia.es> on 2011/08/30 14:34:49 UTC
add documents to the slave
Hi
I've read that it's possible add documents to slave machine:
http://wiki.apache.org/solr/SolrReplication#What_if_I_add_documents_to_the_slave_or_if_slave_index_gets_corrupted.3F
¿Is there anyway to not allow add to documents to slave machine? for
example, touch on configurations files to only allow handler "/select".
Thanks.
RE: add documents to the slave
Posted by "Jaeger, Jay - DOT" <Ja...@dot.wi.gov>.
Another way that occurs to me is that if you have a <securityconstraint> on the update URL(s) in your web.xml, you can map them to no groups / empty groups in the JEE container.
JRJ
-----Original Message-----
From: simon [mailto:mtnest46@gmail.com]
Sent: Tuesday, August 30, 2011 12:21 PM
To: solr-user@lucene.apache.org
Subject: Re: add documents to the slave
That's basically it.
remove all /update URLs from the slave config
On Tue, Aug 30, 2011 at 8:34 AM, Miguel Valencia <
miguel.valencia@juntadeandalucia.es> wrote:
> Hi
>
> I've read that it's possible add documents to slave machine:
>
> http://wiki.apache.org/solr/**SolrReplication#What_if_I_add_**
> documents_to_the_slave_or_if_**slave_index_gets_corrupted.3F<http://wiki.apache.org/solr/SolrReplication#What_if_I_add_documents_to_the_slave_or_if_slave_index_gets_corrupted.3F>
>
> ¿Is there anyway to not allow add to documents to slave machine? for
> example, touch on configurations files to only allow handler "/select".
>
> Thanks.
>
>
>
Re: add documents to the slave
Posted by simon <mt...@gmail.com>.
That's basically it.
remove all /update URLs from the slave config
On Tue, Aug 30, 2011 at 8:34 AM, Miguel Valencia <
miguel.valencia@juntadeandalucia.es> wrote:
> Hi
>
> I've read that it's possible add documents to slave machine:
>
> http://wiki.apache.org/solr/**SolrReplication#What_if_I_add_**
> documents_to_the_slave_or_if_**slave_index_gets_corrupted.3F<http://wiki.apache.org/solr/SolrReplication#What_if_I_add_documents_to_the_slave_or_if_slave_index_gets_corrupted.3F>
>
> ¿Is there anyway to not allow add to documents to slave machine? for
> example, touch on configurations files to only allow handler "/select".
>
> Thanks.
>
>
>