Re: Specify Analyzer per field

2014-09-01 Thread Alexandre Rafalovitch
On Mon, Sep 1, 2014 at 2:14 AM, Ankit Jain wrote: > I want to use schema less feature Solr because the schema is created at > runtime as per user input. Did you actually look at dynamic fields? Multiple CMS products are using Solr to allow user create fields at runtime by using appropriate prefix

Re: Specify Analyzer per field

2014-09-01 Thread Jack Krupansky
solr-user@lucene.apache.org Subject: Re: Specify Analyzer per field Thanks for the response guys.. Let's consider I have two fields X and Y and field type of both fields are *text*. Now, i want to use whitespace analyzer for field X and standard analyzer for field Y. In Elasticsearch, we can specify the dif

Re: Specify Analyzer per field

2014-08-31 Thread Ankit Jain
Thanks for the response guys.. Let's consider I have two fields X and Y and field type of both fields are *text*. Now, i want to use whitespace analyzer for field X and standard analyzer for field Y. In Elasticsearch, we can specify the different analyzer for same field type. Is this feature is a

Re: Specify Analyzer per field

2014-08-29 Thread Walter Underwood
Then don’t use schemaless. We need a LOT more info about the application. wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ On Aug 29, 2014, at 4:11 PM, Erick Erickson wrote: > bq: Can't you just use old fashion dynamic fields and use suffixes to mark > the > type

Re: Specify Analyzer per field

2014-08-29 Thread Erick Erickson
bq: Can't you just use old fashion dynamic fields and use suffixes to mark the type you want? Not with "schemaless" I don't think, since you don't quite know what the names of the fields are in the first place. It's unlikely that the input format has field names like "age_t" that would map to the

Re: Specify Analyzer per field

2014-08-29 Thread Walter Underwood
hange or override the analyzer for the field type. > > -- Jack Krupansky > > -Original Message- From: Alexandre Rafalovitch Sent: Friday, August > 29, 2014 11:55 AM To: solr-user Subject: Re: Specify Analyzer per field > Can't you just use old fashion dynamic fields and

Re: Specify Analyzer per field

2014-08-29 Thread Jack Krupansky
But that doesn't let him change or override the analyzer for the field type. -- Jack Krupansky -Original Message- From: Alexandre Rafalovitch Sent: Friday, August 29, 2014 11:55 AM To: solr-user Subject: Re: Specify Analyzer per field Can't you just use old fashion dyna

Re: Specify Analyzer per field

2014-08-29 Thread Alexandre Rafalovitch
Can't you just use old fashion dynamic fields and use suffixes to mark the type you want? On 29/08/2014 8:17 am, "Ankit Jain" wrote: > Hi All, > > I would like to use schema less feature of Solr and also want to specify > the analyzer of each field at runtime(specify analyzer at the time of > add

Re: Specify Analyzer per field

2014-08-29 Thread Jack Krupansky
Different field TYPES, not different fields. -- Jack Krupansky -Original Message- From: Ahmet Arslan Sent: Friday, August 29, 2014 8:49 AM To: solr-user@lucene.apache.org Subject: Re: Specify Analyzer per field Hi, I think he wants to change query analyzer dynamically, where index

Re: Specify Analyzer per field

2014-08-29 Thread Ahmet Arslan
/SOLR-5098 That said, maybe you could provide a couple of examples of exactly what you want to do. -- Jack Krupansky -Original Message- From: Ankit Jain Sent: Friday, August 29, 2014 8:16 AM To: solr-user@lucene.apache.org Subject: Specify Analyzer per field Hi All, I would like to

Re: Specify Analyzer per field

2014-08-29 Thread Jack Krupansky
5098 That said, maybe you could provide a couple of examples of exactly what you want to do. -- Jack Krupansky -Original Message- From: Ankit Jain Sent: Friday, August 29, 2014 8:16 AM To: solr-user@lucene.apache.org Subject: Specify Analyzer per field Hi All, I would like to use s

Specify Analyzer per field

2014-08-29 Thread Ankit Jain
Hi All, I would like to use schema less feature of Solr and also want to specify the analyzer of each field at runtime(specify analyzer at the time of adding new field into solr). Also, I want to use the different analyzer for same field type. -- Thanks, Ankit Jain