[ https://issues.apache.org/jira/browse/LUCENE-4034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Muir resolved LUCENE-4034. --------------------------------- Resolution: Fixed Fix Version/s: 4.0 I committed this... if anyone has any comments (especially regarding omitTF, it seemed to me e.g. tf() should be consistent with what termquery does), let me know. > 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 > Fix For: 4.0 > > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org