Support inequality operations in payload check queries [LUCENE-9659]
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
This is a ticket broken out from https://issues.apache.org/jira/browse/SOLR-14787
The patch will extend the SpanPayloadCheck query to support inequality checks to see if the term and payload should match. Currently, this query operator only supports equals as the payload check. This ticket introduces gt,gte,lt,lte and eq operations to support testing if a payload is greater than/less than a specified reference payload value. One such use case is to have a label on a document with a confidence level stored as a payload. This patch will support searching for the term where a confidence level is above a given threshold.
---
Migrated from [LUCENE-9659](https://issues.apache.org/jira/browse/LUCENE-9659) by Kevin Watters (@kwatters), updated Feb 25 2021
Linked issues:
- [SOLR-14787](https://issues.apache.org/jira/browse/SOLR-14787)
Pull requests: https://github.com/apache/lucene-solr/pull/2185
Contributor guide
Assessment
This issue has not been assessed yet.