Re: [Hebmorph-thinktank] Help need with HdbMorph Setup on Solr
Status: Pre-Alpha
Brought to you by:
synhershko
|
From: Itamar Syn-H. <it...@co...> - 2011-11-22 18:45:25
|
That is probably because HebMorph is compiled against Lucene 3.0.2 in the Java version. Try changing that, or using a compatible version of Solr, let me know how it goes. On Tue, Nov 22, 2011 at 7:57 PM, Manoj Damodaran <mda...@at...>wrote: > 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***** > > ** ** > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > _______________________________________________ > Hebmorph-thinktank mailing list > Heb...@li... > https://lists.sourceforge.net/lists/listinfo/hebmorph-thinktank > > |