Erick,
Thanks for replying :-).
If I were to do that, we are trying to set string value to int and Solr
throws an error.
Oh wait, I guess it works because Solr would automatically parse based on
the data type of the field. :-).
As I could see from the exception
java.lang.NumberFormatException.
U, put a valid number in your default, not the empty string? LIke
default="5"
Best,
Erick
On Thu, Nov 7, 2013 at 2:57 AM, manju16832003 wrote:
> How do I set default value for int fields
> ex
>
> multiValued="false" default=""/>
>
> While indexing lets say if I have not set the value for m