Accent insensitive Site Search

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
3/25/2019 4:03:48 AM
Gravatar
Total Posts 4

Accent insensitive Site Search

Hi. Is there any way to force lucene  to search ai?

Thank you in advance.

 

mojoPortal Version 2.5.0.0 MSSQL

Operating System Microsoft Windows NT 6.3.9600.0

ASP.NET Info 4.0.30319.42000 Running in Full Trust

3/25/2019 8:02:12 AM
Gravatar
Total Posts 4

Re: Accent insensitive Site Search

Fixed by using custom Lucene CzechAIAnalysisProvider 

web.config

<add key="Site1-LuceneSettingsProvider" value="CzechAIAnalysisProvider" />

lucenesettings.config

 <add name="CzechAIAnalysisProvider" type="mojoPortal.SearchIndex.CzechAIAnalysisProvider, mojoPortal.Web" description="An analyzer " />

 

You must sign in to post in the forums. This thread is closed to new posts.