Skip to content

Faceting for DateRangePrefixTree [LUCENE-5735] #6797

@asfimport

Description

@asfimport

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. 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.


Migrated from LUCENE-5735 by David Smiley (@dsmiley), updated Aug 09 2018
Attachments: LUCENE-5735__PrefixTreeFacetCounter.patch, LUCENE-5735.patch (versions: 2)
Linked issues:

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions