lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Smiley (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LUCENE-5735) Faceting for DateRangePrefixTree
Date Thu, 05 Jun 2014 03:29:01 GMT
David Smiley created LUCENE-5735:
------------------------------------

             Summary: Faceting for DateRangePrefixTree
                 Key: LUCENE-5735
                 URL: https://issues.apache.org/jira/browse/LUCENE-5735
             Project: Lucene - Core
          Issue Type: New Feature
          Components: modules/spatial
            Reporter: David Smiley
            Assignee: David Smiley


The newly added DateRangePrefixTree (DRPT) encodes terms in a fashion amenable to faceting
by meaningful time buckets. The motivation for this feature is to efficiently populate a calendar
bar chart or [heat-map|http://bl.ocks.org/mbostock/4063318]. It's not hard if you have date
instances like many do but it's challenging for date ranges.

Internally this is going to iterate over the terms using seek/next with TermsEnum as appropriate.
 It should be quite efficient; it won't need any special caches. I should be able to re-use
SPT traversal code in AbstractVisitingPrefixTreeFilter.  If this goes especially well; the
underlying implementation will be re-usable for geospatial heat-map faceting.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message