[
https://issues.apache.org/jira/browse/SOLR-1240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12890728#action_12890728
]
Yonik Seeley commented on SOLR-1240:
------------------------------------
Thanks for the example, makes it so much easier to casually review.
Rather than embedding "meta" to the list containing the counts, perhaps we
should bite the bullet and add an additional level for the counts. It would
have been useful for other faceting types as well (and still would be in the
future I think). It should be much easier (and more consistent) for clients to
handle, rather than trying to exclude the thing called "meta" when building the
list of counts returned.
{code}
<lst name="popularity">
<int name="gap">3</int>
<int name="end">13</int>
<int name="before">0</int>
<int name="after">0</int>
<int name="between">18</int>
<lst name="counts">
<int name="-2">3</int>
<int name="1">2</int>
<int name="4">13</int>
<int name="7">7</int>
<int name="10">2</int>
</lst>
</lst>
{code}
Also, I've never been a fan of adding the empty "facet_range" list when there
are no facet.range commands... but I understand it's consistent with the other
facet types.
> Numerical Range faceting
> ------------------------
>
> Key: SOLR-1240
> URL: https://issues.apache.org/jira/browse/SOLR-1240
> Project: Solr
> Issue Type: New Feature
> Components: search
> Reporter: Gijs Kunze
> Priority: Minor
> Attachments: SOLR-1240.patch, SOLR-1240.patch, SOLR-1240.patch,
> SOLR-1240.patch, SOLR-1240.patch, SOLR-1240.patch, SOLR-1240.patch
>
>
> For faceting numerical ranges using many facet.query query arguments leads to
> unmanageably large queries as the fields you facet over increase. Adding the
> same faceting parameter for numbers which already exists for dates should fix
> this.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]