[Hebmorph-thinktank] Help need with HdbMorph Setup on Solr
Status: Pre-Alpha
Brought to you by:
synhershko
|
From: Manoj D. <mda...@at...> - 2011-11-22 18:23:14
|
Hi,
I am trying to use HebMorph to do hebrew search with Solr in our
application. HebMorph looks quite promising, but I am having difficulty
making it work.
I am not able to make solr useHebMorph. I am able to build the Jar files
and have put them in the lib folder. When I make schema change to add
filed type to use lucene.analysis.hebrew.MorphAnalyzer , I get a
run-time exception shown below. Any idea what is going wrong ? I am
running Solr 1.4.1( Lucene 2.9.3)
Nov 22, 2011 5:38:51 PM org.apache.solr.common.SolrException log
SEVERE: java.lang.ClassCastException:
org.apache.lucene.analysis.hebrew.MorphAnalyzer cannot be cast to
org.apache.lucene.analysis.Analyzer
at
org.apache.solr.schema.IndexSchema.readAnalyzer(IndexSchema.java:759)
at
org.apache.solr.schema.IndexSchema.access$100(IndexSchema.java:58)
at
org.apache.solr.schema.IndexSchema$1.create(IndexSchema.java:429)
Thanks,
Manoj
|