apache / apache/lucene

Demo indexing custom ordinal data in the taxonomy

Open
#13,166 1 comment 0 reactions 0 assignees View on GitHub
type:task
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

### Description

#12337 introduced the possibility of indexing data about facet labels directly into the taxonomy.
We should write a [facets demo](https://github.com/apache/lucene/tree/main/lucene/demo/src/java/org/apache/lucene/demo/facet) for this functionality and mention it in the [faceting guide](https://github.com/apache/lucene/blob/main/lucene/demo/src/java/org/apache/lucene/demo/facet/package-info.java). The unit tests in the PR can be a starting point.

Contributor guide

Open the contributing guide

Research direction

Start with the unit tests from PR #12337, then inspect the existing examples in lucene/demo/src/java/org/apache/lucene/demo/facet. Add a facets demo for indexing custom ordinal data into the taxonomy and mention it in lucene/demo/src/java/org/apache/lucene/demo/facet/package-info.java; done means the demo and guide cover this functionality.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
documentation, search
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.