Alfresco ELastic Search and Words with Accentuation

cancel
Showing results for 
Search instead for 
Did you mean: 
marcog
Partner

Alfresco ELastic Search and Words with Accentuation

I have an Alfresco Enterprise 23.2.1 installation using Docker Compose where I use Elastic Search as an indexing tool.

In docker-compose.yml I divided the connector into live-indexing-content, live-indexing-mediation, live-indexing-path and live-indexing-metadata. I also added the option to use the following parameters in JAVA_OPTS:
-Delasticsearch.index.locale=pt
-Dfile.encoding=utf-8

It loads without errors, but when searching for the name or content using an accented word, it does not find it.

Is there any additional configuration I need to do?

I also use Postgresql in a container.

It finds words without accentuation successfully, via Share and/or Workspace.

1 Reply
franktucker907
Active Member

Re: Alfresco ELastic Search and Words with Accentuation

Hello,
Analyzer Configuration: Ensure that your Elasticsearch index is using an analyzer that can handle accented characters properly. The icu_analyzer is often recommended for this purpose.
Mapping Settings: Verify that your index mappings are configured to use the appropriate analyzer for fields that contain text with accented characters.  
Character Filters: Consider using character filters in your analyzer settings to normalize accented characters.
Locale Settings: Double-check that the locale settings in your Elasticsearch configuration are correctly set to handle Portuguese characters.
Best Regards
franktucker907