Hi Grant, Did you get a chance to look at this patch? Let me know if you've any suggestions that you need me to incorporate.
On Tue, Mar 11, 2008 at 12:34 PM, Shalin Shekhar Mangar (JIRA) <[EMAIL PROTECTED]> wrote: > > [ > https://issues.apache.org/jira/browse/SOLR-497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel > ] > > Shalin Shekhar Mangar updated SOLR-497: > --------------------------------------- > > Attachment: SOLR-497.patch > > With your permission Grant, here's a patch to add this functionality. > > Since the facet.date 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 FacetField.java The rest of the facet date responses such as > date values and facet.date.other 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: https://issues.apache.org/jira/browse/SOLR-497 > > 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. > > -- Regards, Shalin Shekhar Mangar.
