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 7BC256AE8 for ; Sun, 26 Jun 2011 15:04:17 +0000 (UTC) Received: (qmail 98420 invoked by uid 500); 26 Jun 2011 15:04:16 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 98360 invoked by uid 500); 26 Jun 2011 15:04:15 -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 98353 invoked by uid 99); 26 Jun 2011 15:04:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Jun 2011 15:04:15 +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, 26 Jun 2011 15:04:13 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 3AD91431903 for ; Sun, 26 Jun 2011 15:03:52 +0000 (UTC) Date: Sun, 26 Jun 2011 15:03:52 +0000 (UTC) From: "Jahangir Anwari (JIRA)" To: dev@lucene.apache.org Message-ID: <1470572648.41511.1309100632237.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <919633850.41502.1309100447834.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (LUCENE-3243) FastVectorHighlighter - add position offset to FieldPhraseList.WeightedPhraseInfo.Toffs 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-3243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jahangir Anwari updated LUCENE-3243: ------------------------------------ Attachment: LUCENE-3243.patch.diff > FastVectorHighlighter - add position offset to FieldPhraseList.WeightedPhraseInfo.Toffs > --------------------------------------------------------------------------------------- > > Key: LUCENE-3243 > URL: https://issues.apache.org/jira/browse/LUCENE-3243 > Project: Lucene - Java > Issue Type: Improvement > Components: modules/highlighter > Affects Versions: 3.2 > Environment: Lucene 3.2 > Reporter: Jahangir Anwari > Priority: Minor > Labels: feature, lucene > Attachments: LUCENE-3243.patch.diff > > > Needed to return position offsets along with highlighted snippets when using FVH for highlighting. > Using the ([LUCENE-3141|https://issues.apache.org/jira/browse/LUCENE-3141]) patch I was able to get the fragInfo for a particular Phrase search. Currently the Toffs(Term offsets) class only stores the start and end offset. > To get the position offset, I added the position offset information in Toffs and FieldPhraseList class. -- 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