Details

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

      Description

      Today the facet module indexes a term for each facet added to a
      document, and DrillDown/SidewaysQuery assume this by creating a
      TermQuery, or OR of TermQuery, for each dimension the app drills down
      on.

      I think we should relax this and allow an [expert] arbitrary query to
      drill down on a given dimension ... e.g., this can enable future
      dynamic faceting methods, or custom app drill-down methods.

      It's easy for DrillDownQuery to do this, but requires generalization
      in DrillSideways, basically just reviving the first approach on
      LUCENE-4748. This approach is somewhat slower, but more general
      ... it will keep using the current method as an optimization when it
      applies.

      This should also fix the possible performance regression from
      LUCENE-4952 when scoreSubDocsAtOnce is true, by using the
      MinShouldMatchSumScorer in that case.

      1. LUCENE-4964.patch
        26 kB
        Michael McCandless

        Activity

        Hide
        Michael McCandless added a comment -

        Patch ... I think it's ready.

        Show
        Michael McCandless added a comment - Patch ... I think it's ready.
        Hide
        Commit Tag Bot added a comment -

        [trunk commit] mikemccand
        http://svn.apache.org/viewvc?view=revision&revision=1477315

        LUCENE-4964: allow custom per-dimension drill-down queries

        Show
        Commit Tag Bot added a comment - [trunk commit] mikemccand http://svn.apache.org/viewvc?view=revision&revision=1477315 LUCENE-4964 : allow custom per-dimension drill-down queries
        Hide
        Commit Tag Bot added a comment -

        [branch_4x commit] mikemccand
        http://svn.apache.org/viewvc?view=revision&revision=1477316

        LUCENE-4964: allow custom per-dimension drill-down queries

        Show
        Commit Tag Bot added a comment - [branch_4x commit] mikemccand http://svn.apache.org/viewvc?view=revision&revision=1477316 LUCENE-4964 : allow custom per-dimension drill-down queries
        Hide
        Steve Rowe added a comment -

        Bulk close resolved 4.4 issues

        Show
        Steve Rowe added a comment - Bulk close resolved 4.4 issues

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development