You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jahangir Anwari (JIRA)" <ji...@apache.org> on 2011/06/26 17:02:47 UTC

[jira] [Updated] (LUCENE-3243) FastVectorHighlighter - add position offset to FieldPhraseList.WeightedPhraseInfo.Toffs

     [ 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