Make term offsets available from Spans [LUCENE-3826]
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
#4758 made term offsets available through DocsAndPositionsEnum. It would be nice to have this available through Spans as well.
---
Migrated from [LUCENE-3826](https://issues.apache.org/jira/browse/LUCENE-3826) by Alan Woodward (@romseygeek)
Attachments: [spans-offsets.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-3826/spans-offsets.patch)
Contributor guide
Research direction
Start by reading issue #4758 and the attached spans-offsets.patch, then compare how term offsets are exposed through DocsAndPositionsEnum with the Spans entry point. The work is complete when equivalent term-offset information is available through Spans and the relevant existing tests cover it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- search
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100