You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Koji Sekiguchi (JIRA)" <ji...@apache.org> on 2013/04/16 13:21:15 UTC
[jira] [Commented] (SOLR-4717) SimpleFacets should respect
localParams
[ https://issues.apache.org/jira/browse/SOLR-4717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13632758#comment-13632758 ]
Koji Sekiguchi commented on SOLR-4717:
--------------------------------------
+1
> SimpleFacets should respect localParams
> ---------------------------------------
>
> Key: SOLR-4717
> URL: https://issues.apache.org/jira/browse/SOLR-4717
> Project: Solr
> Issue Type: Improvement
> Reporter: Ryan McKinley
> Assignee: Ryan McKinley
> Attachments: SOLR-4717-FacetLocalParams.patch
>
>
> In trying to implement http://wiki.apache.org/solr/HierarchicalFaceting I found the need to send multiple prefix facets in the same request on the same field.
> Currently facet params will parse the localParams, but only use them to pick out a name. We can easily modify things to let localParams override global ones. For example:
> {code}
> &{!key=level3 facet.prefix=3/path/to/folder}path
> &{!key=level2 facet.prefix=2/path/to}path
> &{!key=level1 facet.prefix=1/path}path
> {code}
> This can easily be supported if we use:
> {code:java}
> params = SolrParams.wrapDefaults(localParams, orig);
> {code}
> when local params exist
> ------
> We have come a long way from *simple* facets!
--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org