apache / apache/lucene

Multi-Value Support for Binary DocValues [LUCENE-10666]

Open
#11,702 15 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

#11690 introduces a binary doc value format for shapes. Since the geometries are decomposed into triangles the binary docvalue encoding can technically support multi shapes and geometry collections in a single doc value format, however it feels this is hacking around the limitation of supporting multi-values for binary doc values. With multi-value binary individual geometries can be stored in their own binary doc value w/ multiple binary per doc. I'd like to open this issue to explore adding multi-value support to binary doc values. Are there concerns, limitations, traps?

---
Migrated from [LUCENE-10666](https://issues.apache.org/jira/browse/LUCENE-10666) by Nick Knize (@nknize), 2 votes, updated Jul 29 2022

Contributor guide

Open the contributing guide

Research direction

Review #11690 and the binary DocValues format for shapes, then compare the single-value and proposed multi-value cases described here. The issue is exploratory, so begin by identifying the API, format, and limitation questions; it is done only when a concrete implementation target and acceptance criteria are agreed.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
search
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.