Solr
  1. Solr
  2. SOLR-7019

Can't change the field key for interval faceting

    Details

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

      Description

      Right now it is possible to set the key for each interval when using interval faceting, but it's not possible to change the field key. For example:
      Supported:

      ...&facet.interval=popularity
      &facet.interval.set={!key=bad}[0,5]
      &facet.interval.set={!key=good}[5,*]
      &facet=true
      

      Not Supported:

      ...&facet.interval={!key=popularity}some_field
      &facet.interval.set={!key=bad}[0,5]
      &facet.interval.set={!key=good}[5,*]
      &facet=true
      
      1. SOLR-7019.patch
        10 kB
        Tomás Fernández Löbbe
      2. SOLR-7019.patch
        4 kB
        Tomás Fernández Löbbe

        Activity

        Hide
        Tomás Fernández Löbbe added a comment -

        Here is a patch that adds the feature with test cases. No support in SolrJ yet

        Show
        Tomás Fernández Löbbe added a comment - Here is a patch that adds the feature with test cases. No support in SolrJ yet
        Hide
        Tomás Fernández Löbbe added a comment -

        Added tests for SolrJ and filter tagging/exclusion.

        Show
        Tomás Fernández Löbbe added a comment - Added tests for SolrJ and filter tagging/exclusion.
        Hide
        ASF subversion and git services added a comment -

        Commit 1658860 from Tomás Fernández Löbbe in branch 'dev/trunk'
        [ https://svn.apache.org/r1658860 ]

        SOLR-7019: Support changing field key when using interval faceting

        Show
        ASF subversion and git services added a comment - Commit 1658860 from Tomás Fernández Löbbe in branch 'dev/trunk' [ https://svn.apache.org/r1658860 ] SOLR-7019 : Support changing field key when using interval faceting
        Hide
        ASF subversion and git services added a comment -

        Commit 1658876 from Tomás Fernández Löbbe in branch 'dev/branches/branch_5x'
        [ https://svn.apache.org/r1658876 ]

        SOLR-7019: Support changing field key when using interval faceting

        Show
        ASF subversion and git services added a comment - Commit 1658876 from Tomás Fernández Löbbe in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1658876 ] SOLR-7019 : Support changing field key when using interval faceting
        Hide
        Timothy Potter added a comment -

        Bulk close after 5.1 release

        Show
        Timothy Potter added a comment - Bulk close after 5.1 release

          People

          • Assignee:
            Tomás Fernández Löbbe
            Reporter:
            Tomás Fernández Löbbe
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development