You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Ryan McKinley (JIRA)" <ji...@apache.org> on 2013/04/16 05:42:17 UTC
[jira] [Created] (SOLR-4717) SimpleFacets should respect
localParams
Ryan McKinley created SOLR-4717:
-----------------------------------
Summary: 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
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