Re: Default value for dynamic fields

2011-11-03 Thread Yonik Seeley
On Thu, Nov 3, 2011 at 12:59 PM, Milan Dobrota wrote: > Is there any way to define the default value for the dynamic fields in > SOLR? I use some dynamic fields of type float with _val_ and if they > haven't been created at index time, the value defaults to 0. I would want > this to be 1. Can that

Re: Default value for dynamic fields

2011-11-03 Thread Milan Dobrota
It doesn't work for me. 2011/11/3 Yury Kats > On 11/3/2011 12:59 PM, Milan Dobrota wrote: > > Is there any way to define the default value for the dynamic fields in > > SOLR? I use some dynamic fields of type float with _val_ and if they > > haven't been created at index time, the value defaults

Re: Default value for dynamic fields

2011-11-03 Thread Yury Kats
On 11/3/2011 12:59 PM, Milan Dobrota wrote: > Is there any way to define the default value for the dynamic fields in > SOLR? I use some dynamic fields of type float with _val_ and if they > haven't been created at index time, the value defaults to 0. I would want > this to be 1. Can that be changed

Default value for dynamic fields

2011-11-03 Thread Milan Dobrota
Is there any way to define the default value for the dynamic fields in SOLR? I use some dynamic fields of type float with _val_ and if they haven't been created at index time, the value defaults to 0. I would want this to be 1. Can that be changed?