Solr
  1. Solr
  2. SOLR-4776

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 4.2
    • Fix Version/s: 4.4, Trunk
    • 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

        Philip K. Warren created issue -
        Hide
        Philip K. Warren added a comment -

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

        Show
        Philip K. Warren added a comment - Proposed fix. This makes the existing public constructors (that don't take a 'between' parameter) deprecated.
        Philip K. Warren made changes -
        Field Original Value New Value
        Attachment SOLR-4776.patch [ 12581067 ]
        Shalin Shekhar Mangar made changes -
        Attachment SOLR-4776.patch [ 12581068 ]
        Shalin Shekhar Mangar made changes -
        Attachment SOLR-4776.patch [ 12581068 ]
        Hide
        Shalin Shekhar Mangar added a comment -

        Looks good. I'll commit shortly.

        Show
        Shalin Shekhar Mangar added a comment - Looks good. I'll commit shortly.
        Hide
        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 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 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 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
        Shalin Shekhar Mangar made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Shalin Shekhar Mangar [ shalinmangar ]
        Fix Version/s 5.0 [ 12321664 ]
        Fix Version/s 4.4 [ 12324324 ]
        Resolution Fixed [ 1 ]
        Hide
        Steve Rowe added a comment -

        Bulk close resolved 4.4 issues

        Show
        Steve Rowe added a comment - Bulk close resolved 4.4 issues
        Steve Rowe made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        16h 38m 1 Shalin Shekhar Mangar 30/Apr/13 15:06
        Resolved Resolved Closed Closed
        84d 4h 31m 1 Steve Rowe 23/Jul/13 19:38

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development