lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shalin Shekhar Mangar (JIRA)" <>
Subject [jira] Updated: (SOLR-497) SolrJ QueryResponse does not support date faceting results
Date Tue, 11 Mar 2008 07:04:46 GMT


Shalin Shekhar Mangar updated SOLR-497:

    Attachment: SOLR-497.patch

With your permission Grant, here's a patch to add this functionality.

Since the response is not a homogenous NamedList of Numbers, I added the non-number
members of facet date response such as GAP and END as attributes in The rest
of the facet date responses such as date values and params are handling as
FacetField.Count objects

QueryResponse has a new method getFacetDates which returns a list of FacetField (modified
as above).

A simple test with a xml response for testing has been added.

> SolrJ QueryResponse does not support date faceting results
> ----------------------------------------------------------
>                 Key: SOLR-497
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Grant Ingersoll
>            Assignee: Grant Ingersoll
>            Priority: Minor
>             Fix For: 1.3
>         Attachments: SOLR-497.patch
> The QueryResponse provides getFacetFields for drilling down into facets.  It would also
be handy to have similar info for facet dates.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message