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

        No work has yet been logged on this 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