This solution helped me to index the documents with metadata in pt language.
The index server, by default is enabled to take into consideration the locale in which session was created.
We can see this by navigating to "Data Management/<repository name>/default" node.
o Set "Filter word:" with the r_object_id and run the search.
o Click the link at the r_object_id.
o Click "View as Text".
The solution is to switch off language detection for metadata (in dftxml, acl, and group) and content (also in dftxml, acl, and group) to English en.
Steps to follow in order to switch metadata and/or content and force the language to e.g. English en:
1. In indexserverconfig.xml, add the properties like below to the dftxml category definition. It will be located around this area.
The examples below are forcing the language to English EN.
1.1 Modification of dftxml category , add these lines :
<category-definitions>
<category name="dftxml">
<properties>
<property value="true" name="track-location"/>
<property value="true" name="enable-freshness-score"/>
<property value="en" name="index-metadata-default-locale"/> <-- add this line if it doesn't already exist
<property value="en" name="index-default-locale"/> <-- add this line if it doesn't already exist
</properties>
1.2 Modification of ACL category, add these lines:
<category name="acl">
<properties>
<property value="en" name="index-metadata-default-locale"/> <-- add this line if it doesn't already exist
<property value="en" name="index-default-locale"/> <-- add this line if it doesn't already exist
...
1.3 Modification of Group category, add these lines:
<category name="group">
<properties>
<property value="en" name="index-metadata-default-locale"/> <-- add this line if it doesn't already exist
<property value="en" name="index-default-locale"/> <-- add this line if it doesn't already exist
...
2. Finally the data is required to be re-indexed.
Niciun comentariu:
Trimiteți un comentariu