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

Solrj doesn't return "between" count in range facets

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.2
    • Fix Version/s: 4.4, 6.0
    • Component/s: clients - java
    • Labels:
      None

      Description

      The current RangeFacet class exposes the "before" and "after" counts, however it doesn't expose the "between" count, which can be returned if facet.range.other includes "between" or is set to "all".

      1. SOLR-4776.patch
        4 kB
        Philip K. Warren

        Activity

        Hide
        pkwarren Philip K. Warren added a comment -

        Proposed fix. This makes the existing public constructors (that don't take a 'between' parameter) deprecated.

        Show
        pkwarren Philip K. Warren added a comment - Proposed fix. This makes the existing public constructors (that don't take a 'between' parameter) deprecated.
        Hide
        shalinmangar Shalin Shekhar Mangar added a comment -

        Looks good. I'll commit shortly.

        Show
        shalinmangar Shalin Shekhar Mangar added a comment - Looks good. I'll commit shortly.
        Hide
        commit-tag-bot Commit Tag Bot added a comment -

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

        SOLR-4776: Solrj doesn't return 'between' count in range facets

        Show
        commit-tag-bot Commit Tag Bot added a comment - [trunk commit] shalin http://svn.apache.org/viewvc?view=revision&revision=1477637 SOLR-4776 : Solrj doesn't return 'between' count in range facets
        Hide
        commit-tag-bot Commit Tag Bot added a comment -

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

        SOLR-4776: Solrj doesn't return 'between' count in range facets

        Show
        commit-tag-bot Commit Tag Bot added a comment - [branch_4x commit] shalin http://svn.apache.org/viewvc?view=revision&revision=1477638 SOLR-4776 : Solrj doesn't return 'between' count in range facets
        Hide
        steve_rowe Steve Rowe added a comment -

        Bulk close resolved 4.4 issues

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

          People

          • Assignee:
            shalinmangar Shalin Shekhar Mangar
            Reporter:
            pkwarren Philip K. Warren
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development