Re: Dynamic Type For Solr Schema

2013-06-26 Thread Shawn Heisey
On 6/26/2013 8:51 AM, Furkan KAMACI wrote: > If I get a document that has a "lang" field holds "*tr*" I want that: > > ... > > Changing the TYPE of a field based on the contents of another field isn't possible. The language detection that has been mentioned in your other replies makes it possi

Re: Dynamic Type For Solr Schema

2013-06-26 Thread Alexandre Rafalovitch
On Wed, Jun 26, 2013 at 11:46 AM, Jack Krupansky wrote: > But there are also built-in "language identifier" update processors that can > simultaneously identify what language is used in the input value for a field > AND do the redirection to a language-specific field AND store the language > code.

Re: Dynamic Type For Solr Schema

2013-06-26 Thread Jack Krupansky
You can certainly do redirection of input values in an update processing, even in a JavaScript script. But there are also built-in "language identifier" update processors that can simultaneously identify what language is used in the input value for a field AND do the redirection to a language-