I am trying to reproduce an Solr issue, But unfortunately with the provided schema & solrconfi, Solr is throwing exception.
Here is the files -
Full stacktrace :- http://pastebin.com/nmj9h2BX
Schema file :- http://pastebin.com/iwMpr7a5
Solrconfig file :- http://pastebin.com/UadPu5GV
I tried to remove the data-config handler, as I have nothing to do with this, I got an another exception.
Stack trace - http://pastebin.com/zXyZhMnN
Any clues Please, Thanks!
The problem you have with DataImportHandler is because you are referencing a variable ${dataimport.config}
that doesn't exists neither a default value to it. To solve this you can create this variable in your core.properties
file with a valid DataImportHandler xml config file or just define a default value to it like that: ${dataimport.config:data-config.xml}
. Note that the data-config.xml must exists and be a valid configuration file. If you doesn't need DataImportHandler you can just remove the handler.
The second problem you have is that you are setting the parameter enablePositionIncrements=true
in StopFilterFactory
that doesn't exists anymore since solr 4.4. You just need to change the filter like that:
<filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt" />
Note that the file stopwords.txt
must exists.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With