I will check it out today or tomorrow, hopefully.
On Mar 16, 2008, at 10:09 AM, Shalin Shekhar Mangar wrote:
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.
--------------------------
Grant Ingersoll
http://www.lucenebootcamp.com
Next Training: April 7, 2008 at ApacheCon Europe in Amsterdam
Lucene Helpful Hints:
http://wiki.apache.org/lucene-java/BasicsOfPerformance
http://wiki.apache.org/lucene-java/LuceneFAQ