Hi all,<br><br> I am trying to configure arabic analyzer for arabic data search in opencms using link: [7.0.4]<br><br><a href="http://www.bng-galiza.org/opencms/opencms/alkacon-documentation/documentation_search/configuration_analyzers.html">http://www.bng-galiza.org/opencms/opencms/alkacon-documentation/documentation_search/configuration_analyzers.html</a><br>
<br>for arabic analyzer with lucene, I am using <b>gpl.pierrick.brihaye.aramorph.AraMorph </b>[<a href="http://www.nongnu.org/aramorph/english/install.html">http://www.nongnu.org/aramorph/english/install.html</a>]<br><br>
but when i do <b>rebuild </b>from, i get following error in opencms.log:<br><br><br>****************************************************<br>Error while rebuilding search indexes: my_ar.<br>org.opencms.search.CmsIndexException: <b>Cannot load analyzer "gpl.pierrick.brihaye.aramorph.AraMorph".</b><br>
at org.opencms.search.CmsSearchManager.getAnalyzer(CmsSearchManager.java:1229)<br> at org.opencms.search.CmsSearchIndex.getIndexWriter(CmsSearchIndex.java:478)<br> at org.opencms.search.CmsSearchManager.updateIndex(CmsSearchManager.java:1564)<br>
at org.opencms.search.CmsSearchManager.rebuildIndexes(CmsSearchManager.java:779)<br> at org.opencms.search.CmsSearchManager.cmsEvent(CmsSearchManager.java:354)<br> at org.opencms.main.CmsEventManager.fireEventHandler(CmsEventManager.java:203)<br>
at org.opencms.main.CmsEventManager.fireEvent(CmsEventManager.java:126)<br> at org.opencms.main.CmsEventManager.fireEvent(CmsEventManager.java:148)<br> at org.opencms.main.OpenCms.fireCmsEvent(OpenCms.java:169)<br>
at org.opencms.workplace.tools.searchindex.CmsIndexingReportThread.run(CmsIndexingReportThread.java:128)<br>Caused by: java.lang.ClassCastException: gpl.pierrick.brihaye.aramorph.AraMorph<br> at org.opencms.search.CmsSearchManager.getAnalyzer(CmsSearchManager.java:1225)<br>
... 9 more<br>****************************************************<br><br>I have placed ArabicAnalyzer.jar, commons-collections.jar in \webapps\opencms\WEB-INF\lib but no success.<br><br>************opencms-search.xml*************<br>
<analyzer><br> <class>gpl.pierrick.brihaye.aramorph.AraMorph</class><br> <locale>ar</locale><br> </analyzer><br>************opencms-search.xml*************<br>
<br><br>Please help as i really need here :$.<br><br>Thanks!!<br><br>Bye,<br>Viki.<br>