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 D307870C5 for ; Thu, 25 Aug 2011 02:43:02 +0000 (UTC) Received: (qmail 75832 invoked by uid 500); 25 Aug 2011 02:43:00 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 74572 invoked by uid 500); 25 Aug 2011 02:42:58 -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 74303 invoked by uid 99); 25 Aug 2011 02:42:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Aug 2011 02:42:51 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,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; Thu, 25 Aug 2011 02:42:49 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 1C6CFCE43D for ; Thu, 25 Aug 2011 02:42:29 +0000 (UTC) Date: Thu, 25 Aug 2011 02:42:29 +0000 (UTC) From: "Robert Muir (JIRA)" To: dev@lucene.apache.org Message-ID: <1472646612.12142.1314240149112.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (LUCENE-3401) need to ensure that sims that use collection-level stats (e.g. sumTotalTermFreq) handle non-existent field MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 need to ensure that sims that use collection-level stats (e.g. sumTotalTermFreq) handle non-existent field ---------------------------------------------------------------------------------------------------------- Key: LUCENE-3401 URL: https://issues.apache.org/jira/browse/LUCENE-3401 Project: Lucene - Java Issue Type: Bug Affects Versions: flexscoring branch Reporter: Robert Muir Attachments: LUCENE-3401.patch Because of things like queryNorm, unfortunately similarities have to handle the case where they are asked to computeStats() for a term, where the field does not exist at all. (Note they will never have to actually score anything, but unless we break how queryNorm works for TFIDF, we have to deal with this case). I noticed this while doing some benchmarking, so i created a test to test some cases like this across all the sims. -- This message is automatically generated by JIRA. 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