Re: Specifying dynamic field type without polluting actual field names with type indicators

2016-05-23 Thread Abdel Belkasri
That would be a welcomed feature for sure! On Mon, May 23, 2016 at 6:11 AM, Horváth Péter Gergely < peter.gergely.horv...@gmail.com> wrote: > Hi Steve, > > Thank you very much for your inputs. Yes, I do know the aliasing mechanism > offered in Solr. I think the whole question boils down to one

Re: Specifying dynamic field type without polluting actual field names with type indicators

2016-05-23 Thread Horváth Péter Gergely
Hi Steve, Thank you very much for your inputs. Yes, I do know the aliasing mechanism offered in Solr. I think the whole question boils down to one thing: how much do you know about the data being stored -- and sometimes you know nothing about that. In some cases, you have to provide a generic

Re: Specifying dynamic field type without polluting actual field names with type indicators

2016-05-19 Thread Steve Rowe
Peter, It’s an interesting idea. Could you make a Solr JIRA? I don’t know where the field type specification would go, but providing a mechanism to specify field type for previously non-existent fields, outside of the field names themselves, seems useful. In the meantime, do you know about

Re: Specifying dynamic field type without polluting actual field names with type indicators

2016-05-19 Thread Horváth Péter Gergely
Hi Steve, Yes, I know the schema API, however I do not want to specify the field type problematically for every single field. I would like to be able to specify the field type when it is being added (similar to the name postfixes, but without affecting the field names). Thanks, Peter

Re: Specifying dynamic field type without polluting actual field names with type indicators

2016-05-17 Thread Shawn Heisey
On 5/17/2016 9:05 AM, Horváth Péter Gergely wrote: > By default Solr allows you to define the type of a dynamic field by > appending a post-fix to the name itself. E.g. creating a color_s field > instructs Solr to create a string field. My understanding is that if we do > this, all queries must

Re: Specifying dynamic field type without polluting actual field names with type indicators

2016-05-17 Thread Steve Rowe
Hi Peter, Are you familiar with the Schema API?: You can use it to create fields, field types, etc. prior to ingesting your data. -- Steve www.lucidworks.com > On May 17, 2016, at 11:05 AM, Horváth Péter Gergely >

Specifying dynamic field type without polluting actual field names with type indicators

2016-05-17 Thread Horváth Péter Gergely
Hi All, By default Solr allows you to define the type of a dynamic field by appending a post-fix to the name itself. E.g. creating a color_s field instructs Solr to create a string field. My understanding is that if we do this, all queries must refer the post-fixed field name as well. So instead

Specifying dynamic field type without polluting actual field names with type indicators

2016-05-17 Thread Horváth Péter Gergely
Hi All, By default Solr allows you to define the type of a dynamic field by appending a post-fix to the name itself. E.g. creating a color_s field instructs Solr to create a string field. My understanding is that if we do this, all queries must refer the post-fixed field name as well. So instead