Re: Spring Boot missing required field:

2018-06-19 Thread Andrea Gazzarini
Hi Rushikesh, If the issue is: "when I set required=true Solr says the field is missing, and if I set required="false" I have no problem at all, but Solr documents have no value for that field", then trust me, the field is missing. I see two possible points where the issue could be: * clien

Re: Spring Boot missing required field:

2018-06-19 Thread Rushikesh Garadade
Yes Andrea, I have already tried that, I have value associated with field. This issue is coming when I set 'required="true"' . If i remove this then everything works fine. I am not getting why this issue occurs when I set required="true". Can you please provide me some pointers to look see what ma

Re: Spring Boot missing required field:

2018-06-09 Thread Andrea Gazzarini
Hi Rushikesh, I bet your client is not doing what you think. The error is clear, the incoming document doesn't have that field. I would investigate more on the client side. Without entering in interesting fields like unit testing, I guess the old and good System.out.println, just before sending th

Spring Boot missing required field:

2018-06-09 Thread Rushikesh Garadade
Hi, I am using solr 7.3 with java spring boot. I schema of my collection I have set schema as I have done all other necessary settings required for projects to run. When I run a application and trying to insert document via CODE. I am getting error "*missing required field : mailReceiveDate *". A