Lucene - Core
  1. Lucene - Core
  2. LUCENE-3688

Bucketing of association value of a certain category

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: modules/facet
    • Labels:
    • Lucene Fields:
      New, Patch Available

      Description

      Add facet requests which collect associations of a certain category into buckets, and returns each bucket as a facet result node. Association type is either int or float, and there are two methods to define buckets. The first by providing buckets which contain pre-defined ranges. The other is by declaring the required number of buckets, where the ranges of the different buckets are dynamicly set to create balanced bucket sizes.

        Activity

        Hide
        Sivan Yogev added a comment -

        New patch

        Show
        Sivan Yogev added a comment - New patch
        Hide
        Shai Erera added a comment -

        Sivan, I think that RangeFacetRequest (and RangeAccumulator) tackle the pre-defined ranges. It doesn't use facet associations, but rather a NumericDVField. Do you want to convert the dynamic bucketing to work over numeric fields too?

        Show
        Shai Erera added a comment - Sivan, I think that RangeFacetRequest (and RangeAccumulator) tackle the pre-defined ranges. It doesn't use facet associations, but rather a NumericDVField. Do you want to convert the dynamic bucketing to work over numeric fields too?
        Hide
        Sivan Yogev added a comment -

        I want to do this, but not sure when I will get to it.

        Show
        Sivan Yogev added a comment - I want to do this, but not sure when I will get to it.

          People

          • Assignee:
            Unassigned
            Reporter:
            Sivan Yogev
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development