lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Koji Sekiguchi (JIRA)" <>
Subject [jira] [Commented] (LUCENE-3243) FastVectorHighlighter - add position offset to FieldPhraseList.WeightedPhraseInfo.Toffs
Date Mon, 27 Jun 2011 06:08:47 GMT


Koji Sekiguchi commented on LUCENE-3243:

Thank you for the proposal and patch! I don't understand:

* What is the position offset? Isn't it just a position?
* Why is the position offset String?
* Why do you need setPositionOffset()? I don't understand the implementation of the method...
it appends the argument position to the current position.

> FastVectorHighlighter - add position offset to FieldPhraseList.WeightedPhraseInfo.Toffs
> ---------------------------------------------------------------------------------------
>                 Key: LUCENE-3243
>                 URL:
>             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
> Using the ([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

This message is automatically generated by JIRA.
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message