Filter's Weight.explain returns an explanation with isMatch==true even on documents that don't match [LUCENE-6679]
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
This was reported by Trejkaz on the java-user list: http://search-lucene.com/m/l6pAi19h4Y3DclgB1&subj=Re+What+on+earth+is+FilteredQuery+explain+doing+
---
Migrated from [LUCENE-6679](https://issues.apache.org/jira/browse/LUCENE-6679) by Adrien Grand (@jpountz), updated Nov 09 2015
Attachments: [LUCENE-6679.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-6679/LUCENE-6679.patch) (versions: 2)
Linked issues:
- [SOLR-8245](https://issues.apache.org/jira/browse/SOLR-8245)
Contributor guide
Research direction
Start by reading the migrated LUCENE-6679 report and its attached LUCENE-6679.patch, then trace the Filter's Weight.explain behavior described in the issue. Reproduce the case with a document that does not match the filter and verify that the resulting explanation reports isMatch==false when the fix is complete.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- search
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100