Thx a lot !

I downloaded a dictionary called "de_DR.xml" and put it into my "conf" directory...
Then I changed my schema.xml to :

class="solr.DictionaryCompoundWordTokenFilterFactory"
dictFile="./conf/de_DR.xml"
minWordSize="5"
minSubwordSize="2"
maxSubwordSize="15"
onlyLongestMatch="true"

but solr can“t find the dictionary file :-(

SCHWERWIEGEND: Could not start SOLR. Check solr/home property
java.lang.RuntimeException: Error opening null
at
org.apache.solr.core.SolrResourceLoader.openResource(SolrResourceLoader.java:191)
at
org.apache.solr.core.SolrResourceLoader.getLines(SolrResourceLoader.java:237)
at
org.apache.solr.core.SolrResourceLoader.getLines(SolrResourceLoader.java:213)
at
org.apache.solr.analysis.DictionaryCompoundWordTokenFilterFactory.inform(DictionaryCompoundWordTokenFilterFactory.java:49)
at
org.apache.solr.core.SolrResourceLoader.inform(SolrResourceLoader.java:322)

Any hints ?

Greets -Ralf-

Reply via email to