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 A25039DCA for ; Tue, 5 Jun 2012 15:51:25 +0000 (UTC) Received: (qmail 5330 invoked by uid 500); 5 Jun 2012 15:51:24 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 5215 invoked by uid 500); 5 Jun 2012 15:51:24 -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 5201 invoked by uid 99); 5 Jun 2012 15:51:24 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jun 2012 15:51:24 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 0090314285F for ; Tue, 5 Jun 2012 15:51:24 +0000 (UTC) Date: Tue, 5 Jun 2012 15:51:23 +0000 (UTC) From: "Koji Sekiguchi (JIRA)" To: dev@lucene.apache.org Message-ID: <1929389740.39885.1338911484005.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1328015587.39595.1338905723363.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Resolved] (LUCENE-4113) FastVectorHighlighter: FieldTermStack.TermInfo should provide term-weight MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LUCENE-4113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Koji Sekiguchi resolved LUCENE-4113. ------------------------------------ Resolution: Fixed Committed in trunk and 4x. > FastVectorHighlighter: FieldTermStack.TermInfo should provide term-weight > ------------------------------------------------------------------------- > > Key: LUCENE-4113 > URL: https://issues.apache.org/jira/browse/LUCENE-4113 > Project: Lucene - Java > Issue Type: Improvement > Components: modules/highlighter > Affects Versions: 4.0 > Reporter: sebastian L. > Assignee: Koji Sekiguchi > Priority: Minor > Labels: FastVectorHighlighter > Fix For: 4.0, 5.0 > > Attachments: LUCENE-4113.patch > > > This patch contains: > * FieldTermStack.TermInfo has now a field TermInfo.weight (float), which holds the index-weight (IDF) of the corresponding term > * FieldPhraseList.WeightedPhraseInfo has now a field WeightedPhraseInfo.termsInfos (ArrayList), which provides information about the contained terms within the corresponding phrase > * WeightedPhraseInfo.addIfNoOverlap() no longer dumps the second part of a hyphenated word (for example: social-economics) > * FieldQueryTest has been updated > *Regarding test-cases*: > TermInfo.toString() wasn't modified, thus, test-cases remain pretty much the same except the additional parameter for TermInfo-constructor. > This is the third (see LUCENE-4091, LUCENE-4107) patch aiming at the introduction of another method for weighting fragments (see LUCENE-3440). -- 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