Robert Muir created LUCENE-4034:
-----------------------------------
Summary: improve functionquery tests, fix some minor bugs
Key: LUCENE-4034
URL: https://issues.apache.org/jira/browse/LUCENE-4034
Project: Lucene - Java
Issue Type: Bug
Affects Versions: 4.0
Reporter: Robert Muir
Attachments: LUCENE-4034.patch
Currently functionqueries have basically no simple low-level tests.
Found a few minor problems:
* fix -1 summation (in case some, but not all segments are preflex):
TotalTermFreq/SumTotalTermFreq
* fix omitTF case (due to LUCENE-2929, docsenum will return null if you ask for
freqs but the field is omitTF).
* fix some indexedField vs field mixups
* fix QueryUtils searcher-wrapping to also set the similarity the same as it
was on the original searcher.
--
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]