Deniz, you want xxxx to be parametrizable? I use solr-packager to do that. And it works well. The solrconfig and schema are all processed through the filter-resources maven process.
paul Le 17 mai 2011 à 07:59, deniz a écrit : > <requestHandler name="/dataimport" > class="org.apache.solr.handler.dataimport.DataImportHandler"> > <lst name="defaults"> > <str name="config">db-config.xml</str> > <lst name="datasource"> > <str name="name">database</str> > <str name="type">JdbcDataSource</str> > <str name="driver">com.mysql.jdbc.Driver</str> > <str name="url">jdbc:mysql://xxx/xxxxx</str> > <str name="user">xxx</str> > <str name="password">xxx</str> > </lst> > <lst name="datasource"> > <str name="name">url_data</str> > <str name="type">URLDataSource</str> > <str > name="url">http://xxx.xxx.xxx/frontend_dev.php/x/xxxx/${var}</str> > <str name="processor">XPathEntityProcessor</str> > </lst> > </lst> > </requestHandler> > > > > > > is this possible? > > ----- > Zeki ama calismiyor... Calissa yapar... > -- > View this message in context: > http://lucene.472066.n3.nabble.com/how-to-use-variable-in-solfconfig-xml-tp2951337p2951337.html > Sent from the Solr - User mailing list archive at Nabble.com.