Checking configuration - Checking configuration - Alfresco - Alfresco Search Enterprise - Alfresco/Alfresco-Search-Enterprise/4.2/Alfresco-Search-Enterprise/Configure/Language-support/Checking-configuration - 4.2 - 4.2

Alfresco Search Enterprise

Platform
Alfresco
Product
Alfresco Search Enterprise
Release
4.2
License
ft:lastPublication
2026-10-22T08:26:09.664000
ft:locale
en-US

You can check your language configuration.

To verify that the index was created using the correct locale configuration:

curl -s '{$hostname}:9200/alfresco/_settings/' | jq

To check how your text is split into tokens:

curl -X GET "{$hostname}:9200/alfresco/_analyze?pretty" -H 'Content-Type:
        application/json' -d'{"analyzer" : "locale_content", "text" : "I found a
        dog."}'
Note: For a new environment ensure that the initial reindexing is run first.

To verify that the content of a particular node has been correctly extracted and stored in the index:

curl -s {$hostname}:9200/alfresco/_doc/{$nodeId} | jq ._source

To execute a search query:

curl -s -u admin:admin --header "Content-Type: application/json" -d
        '{"query":{"query":"dog","language":"afts"}}'
        "{$hostname}:8080/alfresco/api/-default-/public/search/versions/1/search" | jq
        .list.entries