AUTO_LEXER Language Support

At index time, AUTO_LEXER automatically detects the language of the document, and tokenizes and stems the document appropriately.

AUTO_LEXER Dictionary

To specify an AUTO_LEXER dictionary, use the name of the dictionary you created instead of the file name for the dictionary.

At query time, the language of the query is inherited from the query template. If the query template is not used, or if no language is specified in the query template, then the language of the query is inherited from the session language.

Note: The dictionary data is not processed until the index or policy creation time or until the ALTER INDEX time. Errors in dictionary data format are caught at the index or policy creation time or at the ALTER INDEX time, and are reported as the “DRG-13710: Syntax Error in Dictionary” error.

AUTO_LEXER Component Versions

Starting with Oracle Database 26ai, the AUTO_LEXER component supports version ANL6, which is shipped with the Oracle Database installation by default.

The earlier version (ANL1) of the AUTO_LEXER component is available as an optional download patch. If you want to use version ANL1 to retain the prior language behavior for backward compatibility, then you can download ANL1 from My Oracle Support. After downloading the component, you must set Event 30579 Level 1048576 at the SYSTEM level.

Languages Distribution Model