lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <>
Subject [jira] Updated: (SOLR-1240) Numerical Range faceting
Date Fri, 16 Jul 2010 22:49:54 GMT


Hoss Man updated SOLR-1240:

    Attachment: SOLR-1240.patch

Checkoint, two main changes over the previous patch:

1) before changing anything else, i went ahead and added some tests using a TrieFloat field
.. this is ripe for refactoring so that it will work for double as well, but we also need
some decent int/long testing to.

2) renamed from "number" facets to "range" facets (so all the params now start with "facet.range...."
instead of "facet.number..."

My next step is to fix the problem with not being able to specify decimal values in params
because every arg is also parsed as a Long.  MY idea is to refactor things so we use a new
"StrNumber" type class that knows about the FieldType and hides the details of the underlying
type -- so the logic for looping over teh ranges can just think in terms of adding "Strings"

If it works out, this refactoring should be able to encapsulate the existing date faceting
as well.  (and probably support range faceting on legacy Sortable_Field types)

(Gijs: have you had a change to review any of these changes to your original patch?  I'd love
to know what you think)

> Numerical Range faceting
> ------------------------
>                 Key: SOLR-1240
>                 URL:
>             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,
> 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:
For additional commands, e-mail:

View raw message