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

Hoss Man commented on SOLR-4842:
--------------------------------

bq.  I was wondering if that change you made was needed at the time but no 
tests were failing. 

because there were no tests using range on the same field multiple ways mixed 
with local params on only one of hte range facets.  ie: same bug you found with 
facet.prefix, but with any of hte facet.range.* params.

bq. I added your one-line tweak in there. If you added test cases in your patch 
I didn't catch that yet. 

yes, the patch had a additional tests demonstrating the reason why reseting 
"required" was needed.


                
> Field faceting with local params affects successive field faceting parameters
> -----------------------------------------------------------------------------
>
>                 Key: SOLR-4842
>                 URL: https://issues.apache.org/jira/browse/SOLR-4842
>             Project: Solr
>          Issue Type: Bug
>          Components: search, SearchComponents - other
>    Affects Versions: 4.3
>            Reporter: Erik Hatcher
>            Assignee: Erik Hatcher
>            Priority: Critical
>             Fix For: 5.0, 4.3.1
>
>         Attachments: SOLR-4842__hoss_tests.patch, SOLR-4842.patch, 
> SOLR-4842.patch, SOLR-4842.patch, SOLR-4842.patch
>
>
> SOLR-4717 introduced local param support for per-field faceting, allowing the 
> same field to be faceted in various ways.  There's a problem such that one 
> fields local param setting will override the defaults of the next field.  For 
> example: 
> {code}http://localhost:8983/solr/query?q=*:*&facet=true&rows=0&facet.field={!facet.prefix=a}name&facet.field=features{code}
>  where the facet.prefix for name affects the features faceting.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Reply via email to