Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 74285C1B0 for ; Sun, 6 May 2012 18:58:11 +0000 (UTC) Received: (qmail 14489 invoked by uid 500); 6 May 2012 18:58:09 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 14395 invoked by uid 500); 6 May 2012 18:58:09 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 14386 invoked by uid 99); 6 May 2012 18:58:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 May 2012 18:58:09 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 May 2012 18:58:08 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 1F898436DD4 for ; Sun, 6 May 2012 18:57:48 +0000 (UTC) Date: Sun, 6 May 2012 18:57:48 +0000 (UTC) From: "Robert Muir (JIRA)" To: dev@lucene.apache.org Message-ID: <850362881.32329.1336330668130.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <743803677.32285.1336323590612.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (LUCENE-4034) improve functionquery tests, fix some minor bugs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org