title: Solr Dynamic Field Types
body: <p>I have a field in Solr</p>
  
  <pre><code>&lt;dynamicField name="Phrase_*" type="string" indexed="true" stored="true" multiValued="true" required="false"/&gt;
  </code></pre>
  
  <p>which is used to hold phrases in different languages, so the names tend to be "Phrase_en", "Phrase_sp", etc. I have analyzers and filters to do work against differently languaged fields for types named in a similar fashion ("string_en", "string_sp", etc) that do the correct stemming/synonyming for the corresponding language, and I'd like to find some way of rigging it up so that the correct analyzer/filter set is used for each language, based on the field name.</p>
  
  <p>At the moment, the only thing I can think to do is create a type that multiplexes these analyzer sets and makes the judgement on which one to send it to, but I don't know how to do that.</p>
  
  <p>Any ideas on how to pull that off, or a better way of achieving that goal?</p>