You can set a default value for a field in the schema.xml. I don't
know if an empty string will work, or if you have to create a special
value that means 'null'.

On Sun, Apr 11, 2010 at 11:07 PM, bbarani <bbar...@gmail.com> wrote:
>
> Hi,
>
> I have some dynamic fields something as key value pair in my SOLR data
> config like
>
> <entity x query=select propertyname, value from y>
> <field name="value" column="${x.propertyname}" />
>
>
> sometimes I get the value for any particular propertyname as blank from my
> DB, in that case I would like to have SOLR return null value for that
> particular property name.. Currently if the value is null its not displaying
> the property name also.
>
> Any thoughts would be of great help..
>
> Thanks,
> Barani
> --
> View this message in context: 
> http://n3.nabble.com/How-to-make-SOLR-display-empty-value-attributes-also-tp712766p712766.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>



-- 
Lance Norskog
goks...@gmail.com

Reply via email to