Lucene - Core
  1. Lucene - Core
  2. LUCENE-4915

DrillSideways should accept drill down fields that are not faceted

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Today if you drill down on a field but don't do facet counts on it, DrillSideways throws an exception.

      The caller can work around this: it must take all such drill-downs and manually move them into the base query as BQ MUST clauses. But I think DrillSideways should do this.

      I hit this when trying to add a "See all..." link on a facet dim that has way too many labels to normally show: in this case I run a new search, but I facet only on this one dimension, when there could be drill-downs on other dimensions.

      1. LUCENE-4915.patch
        14 kB
        Michael McCandless

        Activity

        Hide
        Michael McCandless added a comment -

        Patch ... I think it's ready.

        I also relaxed another anal-ness of DrillSideways, that it would fail if you didn't have any drill-downs. In this case now I just fallback to an ordinary search...

        Show
        Michael McCandless added a comment - Patch ... I think it's ready. I also relaxed another anal-ness of DrillSideways, that it would fail if you didn't have any drill-downs. In this case now I just fallback to an ordinary search...
        Hide
        Uwe Schindler added a comment -

        Closed after release.

        Show
        Uwe Schindler added a comment - Closed after release.

          People

          • Assignee:
            Michael McCandless
            Reporter:
            Michael McCandless
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development