Copied to clipboard

Flag this post as spam?

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


  • Victor 10 posts 61 karma points
    Aug 13, 2013 @ 12:47
    Victor
    0

    Setting Arabic Indexer

    Hi,

    We have a running project for an Arabic website, we are currently using Lucene Standard Analyzer for indexing.

    To upgrade our search performance we are plannig to reindex our values and use an Arabic Indexer.

    In our local test environment we have substituted our current Indexer:

    <add name="EntityIndexer" type="UmbracoExamine.UmbracoContentIndexer, UmbracoExamine"
    supportUnpublished="false"
    supportProtected="false"
    interval="10"
    analyzer="Lucene.Net.Analysis.Standard.StandardAnalyzer, Lucene.Net"/>

    with the following:

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

    and updated the ExamineSearchProviders and ExamineLuceneIndexSets accordingly.

    We also deleted our previous Entities\Index folder from the App_Data\TEMP\ExamineIndexes

    and added Lucene.Net.Contrib.Analyzers.dll to the bin folder

    after these changes, we got an error to our ExamineSettings.config file pointing that:

    Value cannot be null. for Parameter name: type , Line: 32

    Line 30:           
    Line 31:       <add name="ArabicIndexer" 
    Line 32:      type="UmbracoExamine.UmbracoContentIndexer, UmbracoExamine"
    Line 33:              supportUnpublished="false"
    Line 34:              supportProtected="false"

     

    dose Umbraco support Lucene Arabic Analyzers to begin with?

    in which manner can we apply these changes, if there is such a support?

     

     

  • Victor 10 posts 61 karma points
    Aug 13, 2013 @ 13:48
    Victor
    101

    We have found our fault to be as follows:

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

    we did not call for the ArabicAnalyzer class in our config file.

    this fix should also be made at the ExamineSearchProviders.

     

     

Please Sign in or register to post replies

Write your reply to:

Draft