You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@manifoldcf.apache.org by pa...@wipro.com on 2013/04/22 09:27:59 UTC

Dynamically set Solr Index Data Dir

Hi,

We want to make the Solr Index data directory configurable at runtime. For this, we will add a parameter/argument to the Solr Output Connection  and based on the value of that argument at runtime, Solr should create the index in the provided directory. I looked into the Solr Output connector code, but couldn't find the file which reads the directory configuration from the solr.xml.

Any suggestions on this can be achieved?

Thanks!

Regards,
Pankaj

Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. 

www.wipro.com

Re: Dynamically set Solr Index Data Dir

Posted by Karl Wright <da...@gmail.com>.
Hi Pankaj,

The Solr connector has nothing whatsoever to do with any of the solr
configuration files.  Solr runs in a different web application and the Solr
connector communicates with it solely via Http requests.  It is completely
outside of ManifoldCF's scope for it to be modifying Solr configuration.

Karl





On Mon, Apr 22, 2013 at 3:27 AM, <pa...@wipro.com> wrote:

> Hi,
>
> We want to make the Solr Index data directory configurable at runtime. For
> this, we will add a parameter/argument to the Solr Output Connection  and
> based on the value of that argument at runtime, Solr should create the
> index in the provided directory. I looked into the Solr Output connector
> code, but couldn't find the file which reads the directory configuration
> from the solr.xml.
>
> Any suggestions on this can be achieved?
>
> Thanks!
>
> Regards,
> Pankaj
>
> Please do not print this email unless it is absolutely necessary.
>
> The information contained in this electronic message and any attachments
> to this message are intended for the exclusive use of the addressee(s) and
> may contain proprietary, confidential or privileged information. If you are
> not the intended recipient, you should not disseminate, distribute or copy
> this e-mail. Please notify the sender immediately and destroy all copies of
> this message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient
> should check this email and any attachments for the presence of viruses.
> The company accepts no liability for any damage caused by any virus
> transmitted by this email.
>
> www.wipro.com
>