[opencms-dev] configuring search analyzer - Plz help!

Vikrama Sanjeeva viki.sanjeeva at gmail.com
Wed Jul 2 22:22:15 CEST 2008


Hi all,

     I am trying to configure arabic analyzer for arabic data search in
opencms using link: [7.0.4]

http://www.bng-galiza.org/opencms/opencms/alkacon-documentation/documentation_search/configuration_analyzers.html

for arabic analyzer with lucene, I am using
*gpl.pierrick.brihaye.aramorph.AraMorph
*[http://www.nongnu.org/aramorph/english/install.html]

but when i do *rebuild *from, i get following error in opencms.log:


****************************************************
Error while rebuilding search indexes: my_ar.
org.opencms.search.CmsIndexException: *Cannot load analyzer
"gpl.pierrick.brihaye.aramorph.AraMorph".*
    at
org.opencms.search.CmsSearchManager.getAnalyzer(CmsSearchManager.java:1229)
    at
org.opencms.search.CmsSearchIndex.getIndexWriter(CmsSearchIndex.java:478)
    at
org.opencms.search.CmsSearchManager.updateIndex(CmsSearchManager.java:1564)
    at
org.opencms.search.CmsSearchManager.rebuildIndexes(CmsSearchManager.java:779)
    at
org.opencms.search.CmsSearchManager.cmsEvent(CmsSearchManager.java:354)
    at
org.opencms.main.CmsEventManager.fireEventHandler(CmsEventManager.java:203)
    at org.opencms.main.CmsEventManager.fireEvent(CmsEventManager.java:126)
    at org.opencms.main.CmsEventManager.fireEvent(CmsEventManager.java:148)
    at org.opencms.main.OpenCms.fireCmsEvent(OpenCms.java:169)
    at
org.opencms.workplace.tools.searchindex.CmsIndexingReportThread.run(CmsIndexingReportThread.java:128)
Caused by: java.lang.ClassCastException:
gpl.pierrick.brihaye.aramorph.AraMorph
    at
org.opencms.search.CmsSearchManager.getAnalyzer(CmsSearchManager.java:1225)
    ... 9 more
****************************************************

I have placed ArabicAnalyzer.jar, commons-collections.jar in
\webapps\opencms\WEB-INF\lib but no success.

************opencms-search.xml*************
            <analyzer>
                <class>gpl.pierrick.brihaye.aramorph.AraMorph</class>
                <locale>ar</locale>
            </analyzer>
************opencms-search.xml*************


Please help as i really need here :$.

Thanks!!

Bye,
Viki.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20080702/2eb027ef/attachment.htm>


More information about the opencms-dev mailing list