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

SolrJ QueryResponse doesn't support range facets

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 3.4, 4.0-ALPHA
    • clients - java
    • 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
          19 kB
          Martijn van Groningen
        2. SOLR-2523.patch
          18 kB
          Martijn van Groningen

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: