For customers who use Forge-based indexing, you can create an auxiliary OLT dictionary.
To create an auxiliary dictionary:
Start a text editor that supports UTF-8 characters and enables you to edit the language that you want to supplement.
Add terms to the dictionary. Start each term on a separate line that begins with the command
STEM
orCOMPOUND
, followed by the word or character, any optional attributes, and then a carriage return.Save the dictionary file with the filename
dictionary.<RFC3066 language code>.dict
in the%ENDECA_MDEX_ROOT%\olt
directory on Windows or in$ENDECA_MDEX_ROOT/olt
on UNIX.Note
The dictionary name should correspond to the
--lang
value you pass to the dgidx. If you are using a supported language that includes a region code, include it in the filename. For example:%ENDECA_MDEX_ROOT%\olt\dictionary.zh-CN.dict
.Re-index your data and specify the
--lang
flag to dgidx with appropriate<lang Id>
value.
The dgidx and dgraph
load custom dictionaries for all languages configured in the
stemming.xml
file.