Opened 14 years ago

Last modified 13 months ago

#439 new enhancement

Redesign support for NumericRange facets (on matchspy branch)

Reported by: Richard Boulton Owned by: Richard Boulton
Priority: normal Milestone: 2.0.0
Component: Library API Version: git master
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Operating System: All

Description (last modified by Olly Betts)

Issues to be addressed before doing this:

  • Is the standard scheme useful?
  • Should we be returning the ends of the buckets (so adjacent buckets meet up), or the maximum and minimum values in the buckets. Or is returning both the most useful approach.
  • What's the best API for implementing different bucketing schemes. The current API is to make a new subclass of NumericRanges to implement a new bucketing scheme, and all the work is done in the constructor: this seems poor. Really, we should have some kind of factory methods to create the ranges.
  • We need support for logarithmic ranges, since they're very common.
  • We need to document properly what the current scheme does.

Change History (6)

comment:1 by Olly Betts, 13 years ago

Description: modified (diff)
Summary: Merge NumericRange code from matchspy branch to trunMerge NumericRange code from matchspy branch to trunk

Hmm, I thought you'd concluded that the bucketing stuff didn't really do what users actually wanted?

Perhaps that's the first point, and our discussion of that happened after this ticket.

If so, let's either close this ticket, or morph it into a place to track implementing something which produces such buckets but in a way which is actually useful!

comment:2 by Richard Boulton, 13 years ago

Without looking at the code again, my memory is that the automatic range guessing didn't work as users really wanted. However, it would still be useful to have something which allowed a set of ranges to be supplied (probably after getting the min and max values from the spy, after the search has run), and which then calculates the number of values in each range.

comment:3 by Richard Boulton, 13 years ago

Summary: Merge NumericRange code from matchspy branch to trunkRedesign support for NumericRange facets (on matchspy branch)

comment:4 by Olly Betts, 11 years ago

Milestone: 1.2.x1.3.x

1.3.x material now.

comment:5 by Olly Betts, 8 years ago

Milestone: 1.3.x1.4.x

This would most likely be an API addition, so not a 1.4.0 blocker.

comment:6 by Olly Betts, 13 months ago

Milestone: 1.4.x2.0.0
Version: SVN trunkgit master
Note: See TracTickets for help on using tickets.