Hi Shrinivasa,
Thanks for your reply.
I think I need to investigate more.
Regards,
Prasann.
-Original Message-
From: Srinivasa Meenavali [mailto:smeenav...@professionalaccess.com]
Sent: Thursday, August 11, 2016 6:21 PM
To: solr-user@lucene.apache.org
Subject: RE: using variables in data-config.xml
Hi Prasanna,
You can use Request Parameters in Solr 5.5 but not in your version .
"these parameters can be passed to the full-import command or defined in the
section in sol rconfig.xml. This example shows the parameters
with the full-import command:
dataimport?command=full-import=jdbc:hsqldb:./example-DIH/hsqldb/ex
dbcuse
r=sa=secret"
Regards
Srinivas Meenavalli
-Original Message-
From: Prasanna S. Dhakephalkar [mailto:prasann...@merajob.in]
Sent: Thursday, August 11, 2016 4:40 PM
To: solr-user@lucene.apache.org
Subject: using variables in data-config.xml
Hi,
I have 7 cores.
In each data-config.xml , I have
There is similar structures on production, testing and partner instances.
So if I have to make changes I have to do in all data-config files.
I am looking for a mechanism where some variables
Like
dbname=abcd
dbusre=username
dbpass=password
are defined in solr.xml file under
../server/solr_test directory
and can be referenced
.../servre/solr_test/{core_1,core_2,...core_7}/conf/data-config.xml
Tired looking on net, I found articles that are telling me to edit
solrconfig.xml in each core, that does not satisfy my need.
I am using solr 5.3.1
Regards,
Prasanna.
This electronic mail transmission may contain privileged, confidential
and/or proprietary information intended only for the
person(s) named. Any use, distribution, copying or disclosure to another
person is strictly prohibited. If you are not the addressee indicated in
this message (or responsible for delivery of the message to such person),
you may not copy or deliver this message to anyone. In such case, you should
destroy this message and kindly notify the sender by reply email.