apache / apache/lucene

Promote sandbox facets to the main facets module

Open
#14,619 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

Last year we created functionality to compute facets during hits collection. As the functionality is experimental, we added it to [the sandbox module](https://github.com/apache/lucene/blob/main/lucene/sandbox/src/java/org/apache/lucene/sandbox/facet/package-info.java).

We want to move the code from the sandbox to the main facets module, as a separate package.

This is a "parent" issue to discuss / track missing pieces before the promotion can happen, as well as the promotion itself. To make it easier to discuss subtasks, I've created a [google doc](https://docs.google.com/document/d/1PF9KWYboy6terrPp8Frizlkp1ee09RX-DsuZrBux-Oo/edit?usp=sharing). The doc consists of 3 parts: promotion from the sandbox, making it feature complete, and follow up tasks. This github issue is for the first part only.

Contributor guide

Open the contributing guide

Research direction

Start with the sandbox package-info.java linked in the issue and review the promotion section of the linked Google document. Trace the existing hit-collection facet functionality and identify the missing promotion pieces before moving it into the main facets module as a separate package. Done means the sandbox implementation has been promoted and the tracked promotion items are addressed.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
search
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.