: When I run the following query :
:
: 
http://localhost:8666/solr/select/?q=test+lettre&version=2.2&start=0&rows=10&indent=on&qt=dismax

: HTTP Status 500 - For input string: "" java.lang.NumberFormatException: For
: input string: "" at java.lang.NumberFormatException.forInputString(
: NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:468)
: at java.lang.Integer.<init>(Integer.java:620) at
: org.apache.solr.util.SolrPluginUtils.calculateMinShouldMatch(

That exception seems to indicate that the value of your "mm" option is set
to the empty string.  if you had no value specified, then it would default
to the string "100%"

since there is no "mm" param in the URL you listed, i'm assuming your
solrconfig.xml has a default "mm" param specifeid and it is the empty
string (or perhaps all whitespace)

if you set that to a legal "minShouldMatch" string (or remove it
completely) things should work fine.


if you'd like, feel free to open a bug requesting a better error message
when "mm" can't be parsed cleanly. (please note the "" causes
NumFormatException as the motivation for the bug)


-Hoss

Reply via email to