apache / apache/lucene

Add RandomAccessOrds support to UninvertedReader's SortedSetDocValues impl (DocTermOrds.Iterator) [LUCENE-6709]

Open
#7,767 5 comments 0 reactions 0 assignees View on GitHub
legacy-jira-priority:Major type:enhancement
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

UninvertedReader's SortedSetDocValues impl doesn't implement the RandomAccessOrds API, so it can't be used with SortedSetSelector.

---
Migrated from [LUCENE-6709](https://issues.apache.org/jira/browse/LUCENE-6709) by Chris M. Hostetter (@hossman), updated Jun 19 2018
Linked issues:
- [SOLR-2522](https://issues.apache.org/jira/browse/SOLR-2522)

Contributor guide

Open the contributing guide

Research direction

Start by reading UninvertedReader's SortedSetDocValues implementation, especially DocTermOrds.Iterator, and compare its exposed API with RandomAccessOrds. Check how SortedSetSelector consumes that API; done means the implementation supports RandomAccessOrds and can be used with SortedSetSelector.

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
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.