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
ence Guide nor current release from Lucid, but see the detailed examples in my book. -- Jack Krupansky -Original Message- From: Furkan KAMACI Sent: Wednesday, June 26, 2013 10:51 AM To: solr-user@lucene.apache.org Subject: Dynamic Type For Solr Schema I use Solr 4.3.1 as SolrCloud. I k

Dynamic Type For Solr Schema

2013-06-26 Thread Furkan KAMACI
I use Solr 4.3.1 as SolrCloud. I know that I can define analyzer at schema.xml. Let's assume that I have specialized my analyzer for Turkish. However I want to have another analzyer too, i.e. for English. I have that fields at my schema: ... ... I have a field type as text_tr that is combined fo