On Fri, Feb 13, 2009 at 12:04 AM, Joshua Kaiser <joe...@gmail.com> wrote:
> I'm having issues debugging an error on the Solr server when I attempt to > add a document. My feeling is that it's ultimately an issue with my > document not obeying my schema definition, but I have no clue how to track > down the offending field. When I attempt to add a document I get an error > back like this: > > Feb 12, 2009 10:32:40 AM org.apache.solr.common.SolrException log > SEVERE: java.lang.NumberFormatException: empty String > at > sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:994) > at java.lang.Float.parseFloat(Float.java:394) > at > > org.apache.solr.handler.XmlUpdateRequestHandler.readDoc(XmlUpdateRequestHandler.java:358) > at > > org.apache.solr.handler.XmlUpdateRequestHandler.processUpdate(XmlUpdateRequestHandler.java:195) > at > Which version of Solr are you using? From the stacktrace, it seems like you have a float field and you are trying to add a empty string to that field. -- Regards, Shalin Shekhar Mangar.