Remove FieldMaskingSpanQuery (or fix its scoring)
-------------------------------------------------
Key: LUCENE-3723
URL: https://issues.apache.org/jira/browse/LUCENE-3723
Project: Lucene - Java
Issue Type: Bug
Affects Versions: 4.0
Reporter: Robert Muir
Attachments: LUCENE-3723_test.patch
In Lucene 4.0 we added new scoring mechanisms, but FieldMaskingSpanQuery is a
serious problem:
Because it lies about the fields of its terms, this sometimes results in
totally bogus
statistics, cases where a single terms totalTermFreq exceeds sumTotalTermFreq
for the entire field (since its lying about it).
Such lying could result in NaN/Inf/Negative scores, exceptions, divide by zero,
and other problems,
because the statistics are impossibly bogus.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]