Varun Thacker created SOLR-12624:
------------------------------------

             Summary: Better validation for HashQParserPlugin
                 Key: SOLR-12624
                 URL: https://issues.apache.org/jira/browse/SOLR-12624
             Project: Solr
          Issue Type: Improvement
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Varun Thacker


The syntax for the HashQParserPlugin is
{code:java}
fq={!hash workers=11 worker=4 keys=field1,field2}{code}
Today we don't make workers / worker mandatory. This means if a user doesn't 
specify them  worker and workers is 0 and you will get an 
java.lang.ArithmeticException: / by zero error



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to