[jira] Updated: (SOLR-1240) Numerical Range faceting

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[jira] Updated: (SOLR-1240) Numerical Range faceting

JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/SOLR-1240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hoss Man updated SOLR-1240:

    Attachment: SOLR-1240.patch

Updated patch.  I think this may be ready to commit.

Changes to previous patch...

* fixed a bug in one test where i was ignoring the fieldName
* move "metadata" info a new sub NamedList called "meta" - something that was kinda overlooked with date faceting was the co-mingling of facet counts (named after the low point of the range) with other metadata -- which is extra ugly now that things like 'gap' and 'end' can also be of type "int".  since this facet_range section is all new it doesn't need to have the exact same structure as facet_date, so i think we should clean it up and keep the "range" counts distinct from the other metadata
* made it support all of the Sortable(Number)Field types, refactored the tests to verify this.
* make it support Date fields directly -- this means you can use facet.range=dateFieldName&facet.range.start=NOW/MONTH&facet.range.gap=... and the "date" type faceting will show up in the "facet_ranges" section.  the old "facet.date" stuff still works -- but all that code is duplicated, and not shared (yet)
* refactored existing date faceting tests to both  facet.range and facet.date usage (which was kind of a pain combined with the "meta" change -- but it  works)

feedback would definitely be appreciated

> 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: [hidden email]
For additional commands, e-mail: [hidden email]