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 94D9A6398 for ; Sun, 26 Jun 2011 15:03:12 +0000 (UTC) Received: (qmail 93580 invoked by uid 500); 26 Jun 2011 15:03:09 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 93393 invoked by uid 500); 26 Jun 2011 15:03: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 93334 invoked by uid 99); 26 Jun 2011 15:03:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Jun 2011 15:03:08 +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:03:07 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5EE0A4318A2 for ; Sun, 26 Jun 2011 15:02:47 +0000 (UTC) Date: Sun, 26 Jun 2011 15:02:47 +0000 (UTC) From: "Jahangir Anwari (JIRA)" To: dev@lucene.apache.org Message-ID: <984258767.41507.1309100567385.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 [ 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 > > 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