Hi,
I don't know whether this is the good place to ask it, or there is a special
tool for issue
requests.
If I set a field to int, but the input contains a string, the Solr reports
an error like this:
2010.03.23. 13:27:23 org.apache.solr.common.SolrException log
SEVERE: java.lang.NumberFormatException: For input string: "1595-1600"
at
java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:456)
It would be great help in some cases, if I could know which field contained
this data in wrong format.
I would like to see something like this:
SEVERE: java.lang.NumberFormatException: For input string: "1595-1600" in
field named "date".
At the client side I have another problem. If I use the post.jar, or a PHP
client, my error messages
always like this:
"SimplePostTool: FATAL: Solr returned an error: For_input_string_15951600
__javalangNumberFormatException_For_input_string_15951600
___at_javalangNumberFormatExceptionforInputStringNumberFormat...."
(I added some line breaks for the shake of readability.)
Could not be returned a string with the same format as in Solr log?
Péter