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

Add DrillSideways helper class to Lucene facets module

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2, 6.0
    • Component/s: modules/facet
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      This came out of a discussion on the java-user list with subject
      "Faceted search in OR": http://markmail.org/thread/jmnq6z2x7ayzci5k

      The basic idea is to count "near misses" during collection, ie
      documents that matched the main query and also all except one of the
      drill down filters.

      Drill sideways makes for a very nice faceted search UI because you
      don't "lose" the facet counts after drilling in. Eg maybe you do a
      search for "cameras", and you see facets for the manufacturer, so you
      drill into "Nikon".

      With drill sideways, even after drilling down, you'll still get the
      counts for all the other brands, where each count tells you how many
      hits you'd get if you changed to a different manufacturer.

      This becomes more fun if you add further drill-downs, eg maybe I next drill
      down into Resolution=10 megapixels", and then I can see how many 10
      megapixel cameras all other manufacturers, and what other resolutions
      Nikon cameras offer.

        Attachments

        1. LUCENE-4748.patch
          17 kB
          Michael McCandless
        2. LUCENE-4748.patch
          17 kB
          Michael McCandless
        3. LUCENE-4748.patch
          21 kB
          Michael McCandless
        4. LUCENE-4748.patch
          22 kB
          Michael McCandless
        5. LUCENE-4748.patch
          23 kB
          Michael McCandless
        6. LUCENE-4748.patch
          34 kB
          Michael McCandless
        7. DrillSideways-alternative.tar.gz
          10 kB
          Nicola Buso
        8. LUCENE-4748.patch
          66 kB
          Michael McCandless
        9. LUCENE-4748.patch
          78 kB
          Michael McCandless
        10. LUCENE-4748.patch
          81 kB
          Michael McCandless
        11. LUCENE-4748.patch
          82 kB
          Michael McCandless
        12. LUCENE-4748.patch
          83 kB
          Michael McCandless

          Activity

            People

            • Assignee:
              mikemccand Michael McCandless
              Reporter:
              mikemccand Michael McCandless
            • Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: