lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LUCENE-4034) improve functionquery tests, fix some minor bugs
Date Sun, 06 May 2012 16:59:50 GMT
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message