lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sebastian L. (JIRA)" <>
Subject [jira] [Created] (LUCENE-4113) FastVectorHighlighter: FieldTermStack.TermInfo should provide term-weight
Date Tue, 05 Jun 2012 14:15:22 GMT
sebastian L. created LUCENE-4113:

             Summary: FastVectorHighlighter: FieldTermStack.TermInfo should provide term-weight
                 Key: LUCENE-4113
             Project: Lucene - Java
          Issue Type: Improvement
          Components: modules/highlighter
    Affects Versions: 4.0
            Reporter: sebastian L.
            Priority: Minor
             Fix For: 4.0, 5.0

This patch contains: 

* FieldTermStack.TermInfo has a field TermInfo.weight (float) now, which holds the index-weight
(IDF) of the corresponding term
* FieldPhraseList.WeightedPhraseInfo provides a field WeightedPhraseInfo.termsInfos (ArrayList<TermInfo>)
now, which provides  informations about the contained terms in the corresponding phrase  
* WeightedPhraseInfo.addIfNoOverlap() no longer dumps the second part of a hyphenated word
(for example: social-economics)
* FieldQueryTest has been updated

*Regarding test-cases*: 
TermInfo.toString() wasn't modified, thus, test-cases remain pretty much the same except the
additional parameter for TermInfo-constructor. 

This is the third (see LUCENE-4091, LUCENE-4107) patch aiming at the introduction of another
method for weighting fragments (see LUCENE-3440). 

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


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

View raw message