Hello,

I think I have uncovered a bug.

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

I get the following exception :


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(
SolrPluginUtils.java:614) at
org.apache.solr.util.SolrPluginUtils.setMinShouldMatch(SolrPluginUtils.java:575)
at org.apache.solr.request.DisMaxRequestHandler.handleRequestBody(
DisMaxRequestHandler.java:244) at
org.apache.solr.handler.RequestHandlerBase.handleRequest(
RequestHandlerBase.java:77) at org.apache.solr.core.SolrCore.execute(
SolrCore.java:658) at org.apache.solr.servlet.SolrDispatchFilter.execute(
SolrDispatchFilter.java:191) at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:159)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:202) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:173) at
org.apache.catalina.core.StandardWrapperValve.invoke(
StandardWrapperValve.java:213) at
org.apache.catalina.core.StandardContextValve.invoke(
StandardContextValve.java:178) at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(
StandardEngineValve.java:107) at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection
(Http11BaseProtocol.java:664) at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(
PoolTcpEndpoint.java:527) at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(
LeaderFollowerWorkerThread.java:80) at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595)


The exception only happens when using the DismaxRequestHandler and a
combination of 2 search words (ex. test lettre)

Can someone please, confirm this? Does anyone know a workaround?

I am using the final solr 1.2 release.

Greetings

Reply via email to