You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Varun Thacker (JIRA)" <ji...@apache.org> on 2018/08/19 15:07:00 UTC

[jira] [Commented] (SOLR-12624) Better validation for HashQParserPlugin

    [ https://issues.apache.org/jira/browse/SOLR-12624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16585172#comment-16585172 ] 

Varun Thacker commented on SOLR-12624:
--------------------------------------

This will be addressed as part of SOLR-12674

> 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
>            Priority: Major
>
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org