Hi there, I am logstashing a table with a column that contains multiple languages into Elasticsearch. There is another column that can be used to indicate the language. So how can I use different language analyzers for one field given the value of another field? Is this possible? Thanks.
Multiple analyzers for one field is not possible. One option is to use a language agnostic analyzer (like StandardAnalyzer) to index all your data in one field. Another is to have a field per language, and either on the client side when constructing json for the document, or in an ingest processor, rename the field based on the language field. Both approaches can also be used.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.