Re: [Hebmorph-thinktank] Help need with HdbMorph Setup on Solr
Status: Pre-Alpha
Brought to you by:
synhershko
|
From: Manoj D. <mda...@at...> - 2011-11-23 12:44:22
|
Itmar,
Thanks for the quick response.
I would like to make it work with Lucene 2.9.3 (solr 1.41.) if possible
as upgrading the solr will bring other complications for me. I changed
the ant build script to use <property name="lucene-version"
value="2.9.3" /> now Solr loads Lucene 2.9.3 libs, but I still get the
same runtime error when loading MorphAnalyzer
Thanks,
Manoj
From: ita...@gm... [mailto:ita...@gm...]
On Behalf Of Itamar Syn-Hershko
Sent: 22 November 2011 18:45
To: Manoj Damodaran
Cc: heb...@li...
Subject: Re: [Hebmorph-thinktank] Help need with HdbMorph Setup on Solr
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
|