IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Language Detection
editLanguage Detection
editBy default, language detection is disabled (false
) as it could come with a cost.
This default value can be changed by setting the index.mapping.attachment.detect_language
setting.
It can also be provided on a per document indexed using the _detect_language
parameter.
Note that you can force language using _language
field when sending your actual document:
{ "my_attachment" : { "_language" : "en", "_content" : "... base64 encoded attachment ..." } }