lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: Could not load config for solrconfig.xml
Date Wed, 27 Mar 2013 22:00:11 GMT

1) the email list you want to be using is solr-user@lucene, not 
general@lucene

2) there is a big differnece between "solrconfig.xml" (which controls in 
general how solr works for managing a "SolrCore"); and the config files 
for DIH (which can be used to tell Solr where/how to fetch data to index) 
typically called data-config.xml (but you can name them anything you 
want).

what you have described below is a data config file for DIH, if you are 
trying to use it as a solrconfig.xml file you aren't going to get very 
far.

I suggest you take a gandar at the example config set for using DIH with a 
database...

https://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/solr/example/example-DIH/solr/
https://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/solr/example/example-DIH/solr/db/conf/
https://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/solr/example/example-DIH/solr/db/conf/solrconfig.xml?view=markup
https://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/solr/example/example-DIH/solr/db/conf/db-data-config.xml?view=log

...and keep them in mind while reviewing the DIH docs...

http://wiki.apache.org/solr/DataImportHandler



-Hoss

Mime
View raw message