You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2006/02/03 01:07:03 UTC
[jira] Created: (LUCENE-492) PhraseQuery.explain is broken
PhraseQuery.explain is broken
-----------------------------
Key: LUCENE-492
URL: http://issues.apache.org/jira/browse/LUCENE-492
Project: Lucene - Java
Type: Bug
Reporter: Hoss Man
PhraseQuery's explain method returns bogus scores in the case where the phrase doesn't match. Unless i'm crazy, it can even indicate a match when one of the terms doesn't even appear in the document.
This can be particularly confusing when looking at the explain output for a doc that matches a large boolean query in spite of failing to match on a PhraseQuery which is part of that BQ.
I'll try to attach an isolated test case shortly.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Closed: (LUCENE-492) PhraseQuery.explain is broken
Posted by "Hoss Man (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/LUCENE-492?page=all ]
Hoss Man closed LUCENE-492:
---------------------------
> PhraseQuery.explain is broken
> -----------------------------
>
> Key: LUCENE-492
> URL: http://issues.apache.org/jira/browse/LUCENE-492
> Project: Lucene - Java
> Type: Bug
> Reporter: Hoss Man
>
> PhraseQuery's explain method returns bogus scores in the case where the phrase doesn't match. Unless i'm crazy, it can even indicate a match when one of the terms doesn't even appear in the document.
> This can be particularly confusing when looking at the explain output for a doc that matches a large boolean query in spite of failing to match on a PhraseQuery which is part of that BQ.
> I'll try to attach an isolated test case shortly.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Commented: (LUCENE-492) PhraseQuery.explain is broken
Posted by "Hoss Man (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/LUCENE-492?page=comments#action_12365085 ]
Hoss Man commented on LUCENE-492:
---------------------------------
Aparently Yonik and i wre both hallucinating -- because both of us saw bad explain output coming form my application, but now i can't reproduce it in an issolated test case, and I can't even reproduce it in my app.
> PhraseQuery.explain is broken
> -----------------------------
>
> Key: LUCENE-492
> URL: http://issues.apache.org/jira/browse/LUCENE-492
> Project: Lucene - Java
> Type: Bug
> Reporter: Hoss Man
>
> PhraseQuery's explain method returns bogus scores in the case where the phrase doesn't match. Unless i'm crazy, it can even indicate a match when one of the terms doesn't even appear in the document.
> This can be particularly confusing when looking at the explain output for a doc that matches a large boolean query in spite of failing to match on a PhraseQuery which is part of that BQ.
> I'll try to attach an isolated test case shortly.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Resolved: (LUCENE-492) PhraseQuery.explain is broken
Posted by "Hoss Man (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/LUCENE-492?page=all ]
Hoss Man resolved LUCENE-492:
-----------------------------
Resolution: Cannot Reproduce
I was never able to reproduce this .. it was probably related to a boolean query containing a phrase query.
> PhraseQuery.explain is broken
> -----------------------------
>
> Key: LUCENE-492
> URL: http://issues.apache.org/jira/browse/LUCENE-492
> Project: Lucene - Java
> Type: Bug
> Reporter: Hoss Man
>
> PhraseQuery's explain method returns bogus scores in the case where the phrase doesn't match. Unless i'm crazy, it can even indicate a match when one of the terms doesn't even appear in the document.
> This can be particularly confusing when looking at the explain output for a doc that matches a large boolean query in spite of failing to match on a PhraseQuery which is part of that BQ.
> I'll try to attach an isolated test case shortly.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org