[
https://issues.apache.org/jira/browse/SOLR-650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14121192#comment-14121192
]
Chris F commented on SOLR-650:
------------------------------
Added a patch that applies to current trunk. It includes a new option named
facet.fieldsaslist which defaults to false. When this option is true, it allows
facet fields to be specified as a comma or space separated list:
{code:xml}
http://127.0.0.1:8983/solr/select?facet.fieldsaslist=true&facet.field=trait_s,name,manu_id_s
http://127.0.0.1:8983/solr/select?facet.fieldsaslist=true&facet.field=trait_s
name manu_id_s
{code}
> facet.field should accept field names separated by spaces or commas
> -------------------------------------------------------------------
>
> Key: SOLR-650
> URL: https://issues.apache.org/jira/browse/SOLR-650
> Project: Solr
> Issue Type: Improvement
> Affects Versions: 1.3
> Reporter: Lars Kotthoff
> Priority: Minor
> Labels: newdev
> Attachments: SOLR-650.patch, SOLR-650.patch, SOLR-650.patch,
> SOLR-650.patch
>
>
> The current version of SimpleFacets does not support specifying several
> fields to facet on in a single facet.field parameter; it has to be specified
> for each field. This behaviour is inconcistent with the other parameters
> which accept field names as arguments -- they allow specifying multiple field
> names either as a comma- or space-separated list or by specifying the
> parameter multiple times.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]