lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jahangir Anwari (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LUCENE-3243) FastVectorHighlighter - add position offset to FieldPhraseList.WeightedPhraseInfo.Toffs
Date Sun, 26 Jun 2011 15:00:47 GMT
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


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


Mime
View raw message