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

Mikhail Khludnev commented on SOLR-12330:
-----------------------------------------

Rejecting reference to repeating parameters.
{code}
    assertQEx("Two params resolved",
       "{!v=$paramrepeat} was dereferenced to multiple values [*:*, *:*]", 
req("q", "*:*", "paramrepeat","*:*", "paramrepeat","*:*",
            "json.facet", 
"{cat_s:{type:terms,field:cat_s,domain:{filter:'{!v=$paramrepeat}'}}}"),SolrException.ErrorCode.BAD_REQUEST);
{code}

> JSON Facet syntax errors are responded as runtime exceptions with 500 code
> --------------------------------------------------------------------------
>
>                 Key: SOLR-12330
>                 URL: https://issues.apache.org/jira/browse/SOLR-12330
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Facet Module
>    Affects Versions: 7.3
>            Reporter: Mikhail Khludnev
>            Assignee: Mikhail Khludnev
>            Priority: Major
>         Attachments: SOLR-12330-combined.patch, SOLR-12330.patch, 
> SOLR-12330.patch, SOLR-12330.patch, SOLR-12330.patch, SOLR-12330.patch, 
> SOLR-12330.patch, SOLR-12330.patch, SOLR-12330.patch
>
>
> Just encounter such weird behaviour, will recheck and followup. 
>  \{{"filter":["\{!v=$bogus}"]}} responds back with just NPE which makes 
> impossible to guess the reason.
>  -It might be even worse, since- \{{"filter":[\{"param":"bogus"}]}} seems 
> like just silently ignored. Turns out it's ok see SOLR-9682



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to