apache / apache/lucene

Support CROSSES, WITHIN and CONTAINS Range Query For Range DocValues Fields [LUCENE-8826]

Open
#9,870 0 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

Follow up to #9409

 

8362 introduces INTERSECTS query for range field docvalue types. This Jira tracks addition of the remaining (CROSSES, WITHIN and CONTAINS) range queries for the same.

---
Migrated from [LUCENE-8826](https://issues.apache.org/jira/browse/LUCENE-8826) by Atri Sharma (@atris)

Contributor guide

Open the contributing guide

Research direction

Start by reviewing issue #9409 and the change from #8362 that introduced INTERSECTS for range field DocValues. Trace the existing range-query handling for DocValues fields, then determine how CROSSES, WITHIN, and CONTAINS should fit alongside it. Done means all three queries are supported for the same range field DocValues types and covered by appropriate tests.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.