Hi Mahesh, the issue here is that you're not sending a <field name="text">...</field> to Solr from which UIMAUpdateRequestProcessor extracts text to analyze :) Infact by default UIMAUpdateRequestProcessor extracts text to analyze from that field and send that value to a UIMA pipeline. Obviously you could choose to customize this behavior making UIMAUpdateRequestProcessor read values from each field that is being indexed in the document or another field.
However this made me realize that in such situations that field value is a String "null" and not a null object, as I expected; so line 57 in UIMAUpdateRequestProcessor should be changed as following to prevent such errors: ... if (textFieldValue != null && !"".equals(textFieldValue) && !"null".equals(textFieldValue)) { ... Hope this helps, Tommaso 2010/10/6 maheshkumar <maheshkuma...@gmail.com> > > Hi Tommaso, > > I will try the service call outside Solr/UIMA. > > And the text i am using is > > FileName: Entity.xml > <add> > <doc> > <field name="reference">Entity.xml</field> > <field name="content">Senator Dick Durbin (D-IL) Chicago , March 3, > 2007.</field> > <field name="title">Entity Extraction</field> > </doc> > </add> > > and using curl to index it curl http://localhost:8080/solr/update -F > solr.bo...@entity.xml > > Thanks > Mahesh > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Solr-UIMA-integration-tp1528253p1642093.html > Sent from the Solr - User mailing list archive at Nabble.com. >