Thank you for your feedback Shawn. Looking closely into the error made me
realize that it was indeed an application error and not related to SolrJ or
SOLR.
--
View this message in context:
http://lucene.472066.n3.nabble.com/SOLR-Error-Document-is-missing-mandatory-uniqueKey-field-tp4062177p4062
On 5/9/2013 7:44 PM, zaheer.java wrote:
> I repeatedly get this error while adding documents to SOLR using SOLRJ
> "Document is missing mandatory uniqueKey field: orderItemKey". This field
> is defined as uniqueKey in the Document Schema. I've made sure that I'm
> passing this field from Java by l
Here is the stack trace:
DEBUG - 2013-05-09 18:53:06.411;
org.apache.solr.update.processor.LogUpdateProcessor; PRE_UPDATE
add{,id=(null)} {wt=javabin&version=2}
DEBUG - 2013-05-09 18:53:06.411;
org.apache.solr.update.processor.LogUpdateProcessor; PRE_UPDATE FINISH
{wt=javabin&version=2}
INFO - 20