Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-4965

Add dynamic numeric range faceting

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.4, 6.0
    • modules/facet
    • None
    • New

    Description

      The facet module today requires the app to compute the hierarchy
      at index time, eg a timestamp field might use a year/month/day
      hierarchy.

      While this gives great performance, since it minimizes the search-time
      computation, sometimes it's unfortunately useful/necessary to do things entirely at
      search time, like Solr does.

      E.g. I'm playing with a prototype Lucene search for Jira issues
      and I'd like to add a drill down+sideways for "Updated in past day,
      2 days, week, month" etc. But because time is constantly advancing,
      doing this at index time is a not easy ...

      Attachments

        1. LUCENE-4965.patch
          9 kB
          Michael McCandless
        2. LUCENE-4965.patch
          9 kB
          Michael McCandless
        3. LUCENE-4965.patch
          15 kB
          Michael McCandless
        4. LUCENE-4965.patch
          15 kB
          Michael McCandless
        5. LUCENE-4965.patch
          23 kB
          Michael McCandless
        6. LUCENE-4965.patch
          24 kB
          Michael McCandless
        7. LUCENE-4965.patch
          25 kB
          Michael McCandless
        8. LUCENE-4965.patch
          49 kB
          Michael McCandless

        Activity

          People

            mikemccand Michael McCandless
            mikemccand Michael McCandless
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: