Phonic searches

The AutoComplete service also supports phonic ("sounds like") searches. To set up phonic searching, use the LucenePhonetics code sample in the Infor Public Sector Reference Guide. The Reference Guide is available for download at the Infor Product Download Center (https://infor.subscribenet.com), in the same location where you download the product ISO.

First, build the solution in the code sample and copy the assembly (PhonetixNet.dll) to the bin folder in your AutoComplete application directory.

Next, change the Index Analyzer and the Search Analyzer in the AutoComplete configuration. The default for each is "Lucene.Net.Analysis.Standard.StandardAnalyzer, Lucene.Net." To set up phonic searching, change the Search Analyzer and the Index Analyzer to " com.tangentum.phonetix.lucene.PhoneticAnalyzer, PhonetixNet." Note that these values can be set globally, using the AUTOCOMPLETE node, or they can be set for individual components. You must also remove the asterisks (*) from the custom queries on any components for which you want to use phonic searching.

Finally, delete the indexes for the selected components. Phonic searching should now be enabled in your Infor Public Sector site.