Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0-ALPHA
    • Fix Version/s: 4.0-ALPHA
    • Component/s: web gui
    • Labels:
      None

      Description

      In SOLR-2383 the hardcoded display of some facet ranges were replaced with automatic, dynamic display.
      There were some shortcomings:
      a) Float range to-values were sometimes displayed as int
      b) Capitalizing the facet name was a mistake, sometimes looks good, sometimes not
      c) facet.range on a date did not work - dates were displayed in whatever locale formatting
      d) The deprecated facet.date syntax was used in solrconfig.xml instead of the new facet.range

      1. SOLR-2741.patch
        8 kB
        Jan Høydahl
      2. SOLR-2741.patch
        8 kB
        Jan Høydahl

        Activity

        Hide
        Jan Høydahl added a comment -

        This patch fixes all of the mentioned shortcomings, and removes facet.date from solrconfig.xml example as well as from Velocity templates.

        Show
        Jan Høydahl added a comment - This patch fixes all of the mentioned shortcomings, and removes facet.date from solrconfig.xml example as well as from Velocity templates.
        Hide
        Jan Høydahl added a comment -

        Fixes bugs when clicking the generated ranges, due to whitespace issues from Velocity macros. Also shows date end gap as full date-math.

        Show
        Jan Høydahl added a comment - Fixes bugs when clicking the generated ranges, due to whitespace issues from Velocity macros. Also shows date end gap as full date-math.
        Hide
        Jan Høydahl added a comment -

        Plan to commit this in a day or two if no objections

        Show
        Jan Høydahl added a comment - Plan to commit this in a day or two if no objections

          People

          • Assignee:
            Jan Høydahl
            Reporter:
            Jan Høydahl
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development