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

SolrJ QueryResponse doesn't support range facets

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: 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.

        Attachments

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

          Activity

            People

            • Assignee:
              martijn.v.groningen Martijn van Groningen
              Reporter:
              martijn.v.groningen Martijn van Groningen
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: