lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Milan Dobrota <mi...@milandobrota.com>
Subject Re: Default value for dynamic fields
Date Thu, 03 Nov 2011 18:39:23 GMT
It doesn't work for me.

2011/11/3 Yury Kats <yurykats@yahoo.com>

> 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?
>
> Does specifying default="1" not work?
>
>


-- 
Milan Dobrota
Ruby on Rails developer
milandobrota.com
rubylove.info

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message