You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "sebastian L. (JIRA)" <ji...@apache.org> on 2012/06/05 16:15:22 UTC

[jira] [Created] (LUCENE-4113) FastVectorHighlighter: FieldTermStack.TermInfo should provide term-weight

sebastian L. created LUCENE-4113:
------------------------------------

             Summary: FastVectorHighlighter: FieldTermStack.TermInfo should provide term-weight
                 Key: LUCENE-4113
                 URL: https://issues.apache.org/jira/browse/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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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


[jira] [Resolved] (LUCENE-4113) FastVectorHighlighter: FieldTermStack.TermInfo should provide term-weight

Posted by "Koji Sekiguchi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-4113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Koji Sekiguchi resolved LUCENE-4113.
------------------------------------

    Resolution: Fixed

Committed in trunk and 4x.
                
> FastVectorHighlighter: FieldTermStack.TermInfo should provide term-weight
> -------------------------------------------------------------------------
>
>                 Key: LUCENE-4113
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4113
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: modules/highlighter
>    Affects Versions: 4.0
>            Reporter: sebastian L.
>            Assignee: Koji Sekiguchi
>            Priority: Minor
>              Labels: FastVectorHighlighter
>             Fix For: 4.0, 5.0
>
>         Attachments: LUCENE-4113.patch
>
>
> This patch contains: 
> * FieldTermStack.TermInfo has now a field TermInfo.weight (float), which holds the index-weight (IDF) of the corresponding term
> * FieldPhraseList.WeightedPhraseInfo has now a field WeightedPhraseInfo.termsInfos (ArrayList<TermInfo>), which provides  information about the contained terms within 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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


[jira] [Assigned] (LUCENE-4113) FastVectorHighlighter: FieldTermStack.TermInfo should provide term-weight

Posted by "Koji Sekiguchi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-4113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Koji Sekiguchi reassigned LUCENE-4113:
--------------------------------------

    Assignee: Koji Sekiguchi
    
> FastVectorHighlighter: FieldTermStack.TermInfo should provide term-weight
> -------------------------------------------------------------------------
>
>                 Key: LUCENE-4113
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4113
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: modules/highlighter
>    Affects Versions: 4.0
>            Reporter: sebastian L.
>            Assignee: Koji Sekiguchi
>            Priority: Minor
>              Labels: FastVectorHighlighter
>             Fix For: 4.0, 5.0
>
>         Attachments: LUCENE-4113.patch
>
>
> This patch contains: 
> * FieldTermStack.TermInfo has now a field TermInfo.weight (float), which holds the index-weight (IDF) of the corresponding term
> * FieldPhraseList.WeightedPhraseInfo has now a field WeightedPhraseInfo.termsInfos (ArrayList<TermInfo>), which provides  information about the contained terms within 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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


[jira] [Updated] (LUCENE-4113) FastVectorHighlighter: FieldTermStack.TermInfo should provide term-weight

Posted by "sebastian L. (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-4113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

sebastian L. updated LUCENE-4113:
---------------------------------

    Description: 
This patch contains: 

* FieldTermStack.TermInfo has now a field TermInfo.weight (float), which holds the index-weight (IDF) of the corresponding term
* FieldPhraseList.WeightedPhraseInfo has now a field WeightedPhraseInfo.termsInfos (ArrayList<TermInfo>), which provides  information about the contained terms within 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). 

  was:
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). 

    
> FastVectorHighlighter: FieldTermStack.TermInfo should provide term-weight
> -------------------------------------------------------------------------
>
>                 Key: LUCENE-4113
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4113
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: modules/highlighter
>    Affects Versions: 4.0
>            Reporter: sebastian L.
>            Priority: Minor
>              Labels: FastVectorHighlighter
>             Fix For: 4.0, 5.0
>
>         Attachments: LUCENE-4113.patch
>
>
> This patch contains: 
> * FieldTermStack.TermInfo has now a field TermInfo.weight (float), which holds the index-weight (IDF) of the corresponding term
> * FieldPhraseList.WeightedPhraseInfo has now a field WeightedPhraseInfo.termsInfos (ArrayList<TermInfo>), which provides  information about the contained terms within 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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


[jira] [Updated] (LUCENE-4113) FastVectorHighlighter: FieldTermStack.TermInfo should provide term-weight

Posted by "sebastian L. (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-4113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

sebastian L. updated LUCENE-4113:
---------------------------------

    Attachment: LUCENE-4113.patch
    
> FastVectorHighlighter: FieldTermStack.TermInfo should provide term-weight
> -------------------------------------------------------------------------
>
>                 Key: LUCENE-4113
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4113
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: modules/highlighter
>    Affects Versions: 4.0
>            Reporter: sebastian L.
>            Priority: Minor
>              Labels: FastVectorHighlighter
>             Fix For: 4.0, 5.0
>
>         Attachments: LUCENE-4113.patch
>
>
> 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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