Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-7019

Can't change the field key for interval faceting

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.1, 6.0
    • None
    • 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
      

      Attachments

        1. SOLR-7019.patch
          4 kB
          Tomas Eduardo Fernandez Lobbe
        2. SOLR-7019.patch
          10 kB
          Tomas Eduardo Fernandez Lobbe

        Activity

          People

            tflobbe Tomas Eduardo Fernandez Lobbe
            tflobbe Tomas Eduardo Fernandez Lobbe
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: