On 12/17/2014 3:00 PM, bengates wrote: > I'm losing my hair trying to add a simple document on a freshly installed > Solr core. > I'm running Solr 4.10.2 on jetty with the start.jar. > > I have the following (managed) schema and my core has been reloaded : > > > Consider my core have 0 document. Now I'm trying to add a document via the > /update API command : > > > And here's the server reply : > > > What the hell am I doing wrong ?
All your XML was eaten by nabble when it sent this to the mailing list. I had to open the nabble forum to see it. Here's the relevant portion of the exception: Caused by: java.lang.NumberFormatException: For input string: "" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:504) at java.lang.Integer.parseInt(Integer.java:527) at org.apache.solr.schema.TrieField.createField(TrieField.java:600) I think you have tried to index an empty string into a numeric field. That's not going to work. It must be a valid number, or you need to leave the field completely out. Thanks, Shawn