Umbraco.TypedSearch using searchTerms with accents (other languages)
I'm having a problem with my search form in my website. I'm passing the searchQuery to a controller in which I use the Umbraco.TypedSearch(query) method.
The problem is, the website is in portuguese, and there are certain words that if the user type without the accents, the search won't find anything.
This guy was probally using an older version of Umbraco since he posted in 2011, did it changed?
I tried to follow his solution, but I think Examine search is different from what I am using. I read about Lucene and Examine but I haven't been able to implement their methods.
Is it possible to change the way TypedSearch searches to filter or replace those words with accents?
After much attempts, I think I managed to get it working using Examine.
I implemented the CIAIAnalyser class just like in the topic I mentioned on this post, then on "Configs/ExamineIndex.config" and on "Config/ExamineIndex", I created a custom Searcher.
It is kinda what the guy on the other topic said, but he used LuceneExamineIndexer, while I used UmbracoExamineIndexer, I couldn't get it working with LuceneExamine.
Umbraco.TypedSearch using searchTerms with accents (other languages)
I'm having a problem with my search form in my website. I'm passing the searchQuery to a controller in which I use the Umbraco.TypedSearch(query) method.
The problem is, the website is in portuguese, and there are certain words that if the user type without the accents, the search won't find anything.
It is the same thing that happened with this guy and his example: https://our.umbraco.org/forum/developers/extending-umbraco/16396-Examine-and-accents-for-portuguese-language
This guy was probally using an older version of Umbraco since he posted in 2011, did it changed?
I tried to follow his solution, but I think Examine search is different from what I am using. I read about Lucene and Examine but I haven't been able to implement their methods.
Is it possible to change the way TypedSearch searches to filter or replace those words with accents?
After much attempts, I think I managed to get it working using Examine.
I implemented the CIAIAnalyser class just like in the topic I mentioned on this post, then on "Configs/ExamineIndex.config" and on "Config/ExamineIndex", I created a custom Searcher.
I followed this guide to create: https://www.steadygo.digital/blog/umbraco-search-help-guide-to-filtered-search-in-umbraco/
It is kinda what the guy on the other topic said, but he used LuceneExamineIndexer, while I used UmbracoExamineIndexer, I couldn't get it working with LuceneExamine.
is working on a reply...