You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Terry Smith (JIRA)" <ji...@apache.org> on 2015/09/08 20:57:46 UTC
[jira] [Updated] (LUCENE-6679) Filter's Weight.explain returns an
explanation with isMatch==true even on documents that don't match
[ https://issues.apache.org/jira/browse/LUCENE-6679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Terry Smith updated LUCENE-6679:
--------------------------------
Attachment: LUCENE-6679.patch
Here is a patch (against trunk) that adds test coverage for explanations on hits only.
I'm looking for feedback to the approach used before expanding to cover explanations for misses.
Currently I get a couple of failures when running just the Lucene tests:
{noformat}
Tests with failures:
- org.apache.lucene.search.TestSortRandom.testRandomStringValSort
- org.apache.lucene.search.TestSortRandom.testRandomStringSort
JVM J0: 1.42 .. 284.75 = 283.33s
JVM J1: 1.64 .. 284.77 = 283.13s
JVM J2: 1.42 .. 284.70 = 283.28s
JVM J3: 1.42 .. 284.68 = 283.26s
Execution time total: 4 minutes 44 seconds
Tests summary: 404 suites, 3235 tests, 2 failures, 104 ignored (100 assumptions)
{noformat}
Happy to dig into these more once an approach has been found that people like.
> Filter's Weight.explain returns an explanation with isMatch==true even on documents that don't match
> ----------------------------------------------------------------------------------------------------
>
> Key: LUCENE-6679
> URL: https://issues.apache.org/jira/browse/LUCENE-6679
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Adrien Grand
> Attachments: LUCENE-6679.patch
>
>
> 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+
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org