You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2016/03/01 18:51:18 UTC

[jira] [Commented] (LUCENE-5735) Faceting for DateRangePrefixTree

    [ https://issues.apache.org/jira/browse/LUCENE-5735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15174094#comment-15174094 ] 

David Smiley commented on LUCENE-5735:
--------------------------------------

After the 6x branch is cut, I'm going to delete this from the 6x branch but leave it in master.  Even though the current test passes; it's too in-progress.  I'll likely get some more time on this to finish it yet but not ATM.

> 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
>             Fix For: 5.3
>
>         Attachments: LUCENE-5735.patch, LUCENE-5735.patch, LUCENE-5735__PrefixTreeFacetCounter.patch
>
>
> 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.3.4#6332)

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