Remedy AR System Server- FTS - Full Text Search produces inconsistent results if non-English locale is involved

Version 11
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    Remedy AR System Server


    COMPONENT:

    AR System


    APPLIES TO:

    BMC Remedy AR System Full Text Search 9.x



    PROBLEM:

    Using Global search or MFS:MultiformSearch produce different results if the search is run from a Search server or an Indexer server, but not always.
    If the search is for an incident number for example the results are the same but if the search is for a word contained in the subject field the results are different.

    In this scenario the environment is based on:
    - 4 server in server group.
    - 2 servers are defined as indexers.
    - 2 servers exposed to the users are defined as searchers.
    Search results are consistent between the indexer and the searcher but not between the searcher and the indexer.
     

     


    CAUSE:

    In Pluginsvr_config.xml file there is a parameter for a locale: [ftLangCode]en[/ftLangCode] For this scenario was using “en” for English locale.


    SOLUTION:

    Check the following:

    1- Go to the searcher FTS instance and locate the the configuration XML file:
    .../BMC Software/ARSys/Pluginsvr/fts/Secondary/pluginsvr_config.xml 

    2- Within this file locate the parameter entry defining the Locale:
    Example:
    <ftLangCode>en</ftLangCode>
     
    3- The changes to perform are applied to the FTS Analyser:
    .........................
    DEBUG [main] com.bmc.arsys.fts.impl.lucene.LuceneFTSService (LuceneFTSService.java:338) - The init is happening.
    DEBUG [main] com.bmc.arsys.fts.impl.lucene.LuceneFTSService (LuceneFTSService.java:1697) - FTS: Initialize full text analyzers
    DEBUG [main] com.bmc.arsys.fts.impl.lucene.analyzers.FTSAnalyzerConfigReader (FTSAnalyzerConfigReader.java:59)
    - com.bmc.arsys.fts.impl.lucene.analyzers.FTSAnalyzerConfigReaderFTSAnalyzerConfigReader: Instrumented >> stemmer : Italian

    DEBUG [main] com.bmc.arsys.fts.impl.lucene.analyzers.FTSAnalyzerConfigReader (FTSAnalyzerConfigReader.java:61)
    - com.bmc.arsys.fts.impl.lucene.analyzers.FTSAnalyzerConfigReaderFTSAnalyzerConfigReader: Instrumented >> locale : it

    .........................

    **NOTE**
    Ensure the "ftLangCode" specified has a relevant entry in the associated  "FTSLocaleConfig.xml"  file.     This file location is also specified using the <ftConfigDir> tag within the file.

    .../BMC Software/ARSys/Pluginsvr/fts/Secondary/pluginsvr_config.xml 

     <ftConfigDir>/opt/bmc/ARSystem/ftsconfiguration/conf</ftConfigDir>

    an example FTSLocaleConfig.xml entry for the "en" locale would be:

     <locale locale="en" language="English">
                    <stopwordfile>arsfts.stp</stopwordfile>
                    <nonstemmedstopwordsfile>arsftsnostem.stp</nonstemmedstopwordsfile>
                    <rootwordfile>rootwords_en.txt</rootwordfile>
                    <thesaurusfile>thesaurus_en.txt</thesaurusfile>
                    <indexAnalyzer></indexAnalyzer>
                    <searchAnalyzer></searchAnalyzer>
                    <stemmer>English</stemmer>
            </locale>

     


    Article Number:

    000325640


    Article Type:

    Solutions to a Product Problem



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles