Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Raj 21 posts 103 karma points
    Sep 10, 2018 @ 06:33
    Raj
    0

    Site search

    Hi ,

    i'm using umbraco 7.12 version.My website is in two language and i want a site search for both English and Arabic.I tried ezsearch search package but its not working for Arabic.Can any suggest me any other package or solution which will work for both the language.

    Thank you

  • Alex Skrypnyk 6175 posts 24186 karma points MVP 8x admin c-trib
    Sep 10, 2018 @ 09:39
    Alex Skrypnyk
    100

    Hi Raj

    You need to use ArabicAnalyzer for doing a search in Arabic. Add ArabicIndexer to ExamineIndex.config:

    <addname="ArabicIndexer"type="UmbracoExamine.UmbracoContentIndexer, UmbracoExamine"
         supportUnpublished="false"
         supportProtected="false"
         interval="10"
         analyzer="Lucene.Net.Analysis.AR.ArabicAnalyzer, Lucene.Net.Contrib.Analyzers"/>
    

    Then change ezSearch script to work with Arabic Indexer and searcher.

    Thanks,

    Alex

Please Sign in or register to post replies

Write your reply to:

Draft