Hi Matt,<br><br>  Thank you very much. It solved my problem and made my day :).<br><br>Take care!!<br><br>Bye,<br>Viki.<br><br><div class="gmail_quote">On Thu, Jul 3, 2008 at 12:09 AM, TechnoSophos <<a href="mailto:technosophos@gmail.com">technosophos@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">The AraMorph class is not an analyzer. You need to use an object that<br>
extends Analyzer.<br>
<br>
Try gpl.pierrick.brihaye.aramorph.lucene.ArabicStemAnalyzer (or some<br>
of the other analyzers in the lucene part of that package).<br>
<br>
Matt<br>
<div><div></div><div class="Wj3C7c"><br>
On Wed, Jul 2, 2008 at 2:22 PM, Vikrama Sanjeeva<br>
<<a href="mailto:viki.sanjeeva@gmail.com">viki.sanjeeva@gmail.com</a>> wrote:<br>
> Hi all,<br>
><br>
>      I am trying to configure arabic analyzer for arabic data search in<br>
> opencms using link: [7.0.4]<br>
><br>
> <a href="http://www.bng-galiza.org/opencms/opencms/alkacon-documentation/documentation_search/configuration_analyzers.html" target="_blank">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<br>
> gpl.pierrick.brihaye.aramorph.AraMorph<br>
> [<a href="http://www.nongnu.org/aramorph/english/install.html" target="_blank">http://www.nongnu.org/aramorph/english/install.html</a>]<br>
><br>
> but when i do rebuild from, i get following error in opencms.log:<br>
><br>
><br>
> ****************************************************<br>
> Error while rebuilding search indexes: my_ar.<br>
> org.opencms.search.CmsIndexException: Cannot load analyzer<br>
> "gpl.pierrick.brihaye.aramorph.AraMorph".<br>
>     at<br>
> org.opencms.search.CmsSearchManager.getAnalyzer(CmsSearchManager.java:1229)<br>
>     at<br>
> org.opencms.search.CmsSearchIndex.getIndexWriter(CmsSearchIndex.java:478)<br>
>     at<br>
> org.opencms.search.CmsSearchManager.updateIndex(CmsSearchManager.java:1564)<br>
>     at<br>
> org.opencms.search.CmsSearchManager.rebuildIndexes(CmsSearchManager.java:779)<br>
>     at<br>
> org.opencms.search.CmsSearchManager.cmsEvent(CmsSearchManager.java:354)<br>
>     at<br>
> 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<br>
> org.opencms.workplace.tools.searchindex.CmsIndexingReportThread.run(CmsIndexingReportThread.java:128)<br>
> Caused by: java.lang.ClassCastException:<br>
> gpl.pierrick.brihaye.aramorph.AraMorph<br>
>     at<br>
> org.opencms.search.CmsSearchManager.getAnalyzer(CmsSearchManager.java:1225)<br>
>     ... 9 more<br>
> ****************************************************<br>
><br>
> I have placed ArabicAnalyzer.jar, commons-collections.jar in<br>
> \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>
><br>
><br>
</div></div>> _______________________________________________<br>
> This mail is sent to you from the opencms-dev mailing list<br>
> To change your list options, or to unsubscribe from the list, please visit<br>
> <a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br>
><br>
<br>
_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br>
</blockquote></div><br>