I have a field in Solr
<dynamicField name="Phrase_*" type="string" indexed="true" stored="true" multiValued="true" required="false"/>
which is used to store phrases in different languages, so names tend to be "Phrase_en", "Phrase_sp", etc. I have analyzers and filters for working with fields with different languages ββfor types named in the same way ("string_en", "string_sp", etc.) that make the correct conclusion / synonym for the corresponding language, and I would like to find a way equipping it so that for each language the correct set of analyzer / filter is used, based on the field name.
At the moment, the only thing I can think of is to create a type that multiplexes these sets of analyzers and makes a judgment about which one to send to, but I donβt know how to do it.
Any ideas on how to do this, or the best way to achieve this?
source
share