|
From: | Yosra Shaheen |
Subject: | [Aramorph-users] Urgent Help |
Date: | Sat, 19 Sep 2015 12:07:30 +0000 |
Hi all, I am using solr integrated with nutch and php interface to create an Arabic search engin. I need to use morphological analysis from solr based on Lucene library. I read about Aramorph I modified the field type in schema.xml file to be <fieldType name="text_ar" class="solr.TextField" positionIncrementGap="100"> <analyzer type="index"> <tokenizer class="gpl.pierrick.brihaye.aramorph.solr.ArabicTokenizerFactory"/> <filter class="gpl.pierrick.brihaye.aramorph.solr.ArabicNormalizerFactory"/> <filter class="gpl.pierrick.brihaye.aramorph.solr.ArabicStemmerReplicatorFactory" useJDBC="false"/> <filter class="gpl.pierrick.brihaye.aramorph.solr.ArabicNormalizerFactory"/> <filter class="gpl.pierrick.brihaye.aramorph.solr.DeduplicatorFactory"/> <!--filter class="gpl.pierrick.brihaye.aramorph.solr.DeduplicatorFactory"/--> </analyzer> <analyzer type="query"> <tokenizer class="gpl.pierrick.brihaye.aramorph.solr.ArabicTokenizerFactory"/> <filter class="gpl.pierrick.brihaye.aramorph.solr.ArabicNormalizerFactory"/> <filter class="gpl.pierrick.brihaye.aramorph.solr.ArabicStemmerReplicatorFactory" useJDBC="false"/> <filter class="gpl.pierrick.brihaye.aramorph.solr.ArabicNormalizerFactory"/> <filter class="gpl.pierrick.brihaye.aramorph.solr.DeduplicatorFactory"/> </analyzer> I added the aramorph.jar and common collection.jar in the lib folder Now I got no errors but when I run Solr the core instrance is not read what can I do? What is the problem? I tried many things after googling the problem but nothing worked. I am working on this problem almost a week. I am need to finish it urgently Thanks Yosra |
[Prev in Thread] | Current Thread | [Next in Thread] |