Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.0, 6.3.1
    • Fix Version/s: 7.0, 6.4
    • Component/s: None
    • Labels:
    • Lucene Fields:
      New, Patch Available

      Description

      This patch introduces two convenient queries: FacetQuery and MultiFacetQuery.

      It can be useful to be able to filter a complex query on one or many facet value.

      • FacetQuery acts as a TermQuery on a FacetField.
      • MultiFacetQuery acts as a MultiTermQuery on a FacetField.
      1. LUCENE-7587.patch
        9 kB
        Emmanuel Keller

        Activity

        Hide
        mikemccand Michael McCandless added a comment -

        These helper classes look great, thank you Emmanuel Keller.

        Maybe add javadocs explaining that this is an alternative to DrillDownQuery, especially in cases where you don't intend to use DrillSideways?

        Show
        mikemccand Michael McCandless added a comment - These helper classes look great, thank you Emmanuel Keller . Maybe add javadocs explaining that this is an alternative to DrillDownQuery , especially in cases where you don't intend to use DrillSideways ?
        Hide
        ekeller Emmanuel Keller added a comment -

        True. I will do that and submit a new patch. A review of my approximative english prose will still probably be required.

        Show
        ekeller Emmanuel Keller added a comment - True. I will do that and submit a new patch. A review of my approximative english prose will still probably be required.
        Hide
        ekeller Emmanuel Keller added a comment -

        The new patch includes the Javadoc. Thanks Michael McCandless for your suggestions.

        Show
        ekeller Emmanuel Keller added a comment - The new patch includes the Javadoc. Thanks Michael McCandless for your suggestions.
        Hide
        mikemccand Michael McCandless added a comment -

        Thanks Emmanuel Keller, this looks great, I'll push shortly.

        Show
        mikemccand Michael McCandless added a comment - Thanks Emmanuel Keller , this looks great, I'll push shortly.
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 835296f20a17c12c66b4f043074c94e3ddd5c2b5 in lucene-solr's branch refs/heads/master from Mike McCandless
        [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=835296f ]

        LUCENE-7587: add helper FacetQuery and MultiFacetQuery classes to simplify drill down implementation

        Show
        jira-bot ASF subversion and git services added a comment - Commit 835296f20a17c12c66b4f043074c94e3ddd5c2b5 in lucene-solr's branch refs/heads/master from Mike McCandless [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=835296f ] LUCENE-7587 : add helper FacetQuery and MultiFacetQuery classes to simplify drill down implementation
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit a11cdd2fd8ca17e8a2e4f78431d347c58dd36353 in lucene-solr's branch refs/heads/branch_6x from Mike McCandless
        [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=a11cdd2 ]

        LUCENE-7587: add helper FacetQuery and MultiFacetQuery classes to simplify drill down implementation

        Show
        jira-bot ASF subversion and git services added a comment - Commit a11cdd2fd8ca17e8a2e4f78431d347c58dd36353 in lucene-solr's branch refs/heads/branch_6x from Mike McCandless [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=a11cdd2 ] LUCENE-7587 : add helper FacetQuery and MultiFacetQuery classes to simplify drill down implementation
        Hide
        mikemccand Michael McCandless added a comment -
        Show
        mikemccand Michael McCandless added a comment - Thanks Emmanuel Keller !
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 835296f20a17c12c66b4f043074c94e3ddd5c2b5 in lucene-solr's branch refs/heads/feature/metrics from Mike McCandless
        [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=835296f ]

        LUCENE-7587: add helper FacetQuery and MultiFacetQuery classes to simplify drill down implementation

        Show
        jira-bot ASF subversion and git services added a comment - Commit 835296f20a17c12c66b4f043074c94e3ddd5c2b5 in lucene-solr's branch refs/heads/feature/metrics from Mike McCandless [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=835296f ] LUCENE-7587 : add helper FacetQuery and MultiFacetQuery classes to simplify drill down implementation

          People

          • Assignee:
            Unassigned
            Reporter:
            ekeller Emmanuel Keller
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development