Solr
  1. Solr
  2. SOLR-2523

SolrJ QueryResponse doesn't support range facets

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4, 4.0-ALPHA
    • Component/s: clients - java
    • Labels:
      None

      Description

      It is possible to get date facets and pivot facets in SolrJ.

      queryResponse.getFacetDate();
      queryResponse.getFacetPivot();
      

      Having this also for range fields would be nice. Adding this is trivial. Maybe we should deprecate date facet methods in QueryResponse class? Since it is superseded by range facets. Also some set / add / remove methods for setting facet range parameters on the SolrQuery class would be nice.

      1. SOLR-2523.patch
        19 kB
        Martijn van Groningen
      2. SOLR-2523.patch
        18 kB
        Martijn van Groningen

        Activity

        Robert Muir made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Martijn van Groningen made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Robert Muir made changes -
        Fix Version/s 3.4 [ 12316683 ]
        Fix Version/s 3.3 [ 12316471 ]
        Martijn van Groningen made changes -
        Fix Version/s 3.3 [ 12316471 ]
        Fix Version/s 3.2 [ 12316172 ]
        Martijn van Groningen made changes -
        Attachment SOLR-2523.patch [ 12480704 ]
        Martijn van Groningen made changes -
        Attachment SOLR-2523.patch [ 12480059 ]
        Martijn van Groningen made changes -
        Assignee Martijn van Groningen [ martijn.v.groningen ]
        Martijn van Groningen made changes -
        Field Original Value New Value
        Description It is possible to get date facets and pivot facets in SolrJ.
        {code:java}
        queryResponse.getFacetDate();
        queryResponse.getFacetPivot();
        {code:java}
        Having this also for range fields would be nice. Adding this is trivial. Maybe we should deprecate date facet methods in QueryResponse class? Since it is superseded by range facets. Also some set / add / remove methods for setting facet range parameters on the SolrQuery class would be nice.
        It is possible to get date facets and pivot facets in SolrJ.
        {code:java}
        queryResponse.getFacetDate();
        queryResponse.getFacetPivot();
        {code}
        Having this also for range fields would be nice. Adding this is trivial. Maybe we should deprecate date facet methods in QueryResponse class? Since it is superseded by range facets. Also some set / add / remove methods for setting facet range parameters on the SolrQuery class would be nice.
        Martijn van Groningen created issue -

          People

          • Assignee:
            Martijn van Groningen
            Reporter:
            Martijn van Groningen
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development