You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jonathan Leibiusky (JIRA)" <ji...@apache.org> on 2008/04/24 16:55:27 UTC

[jira] Created: (LUCENE-1272) Support for boost factor in MoreLikeThis

Support for boost factor in MoreLikeThis
----------------------------------------

                 Key: LUCENE-1272
                 URL: https://issues.apache.org/jira/browse/LUCENE-1272
             Project: Lucene - Java
          Issue Type: New Feature
          Components: contrib/*
            Reporter: Jonathan Leibiusky


This is a patch I made to be able to boost the terms with a specific factor beside the relevancy returned by MoreLikeThis. This is helpful when having more then 1 MoreLikeThis in the query, so words in the field A (i.e. Title) can be boosted more than words in the field B (i.e. Description).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Updated: (LUCENE-1272) Support for boost factor in MoreLikeThis

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

Jonathan Leibiusky updated LUCENE-1272:
---------------------------------------

    Attachment: morelikethis_boostfactor.patch

> Support for boost factor in MoreLikeThis
> ----------------------------------------
>
>                 Key: LUCENE-1272
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1272
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: contrib/*
>            Reporter: Jonathan Leibiusky
>         Attachments: morelikethis_boostfactor.patch
>
>
> This is a patch I made to be able to boost the terms with a specific factor beside the relevancy returned by MoreLikeThis. This is helpful when having more then 1 MoreLikeThis in the query, so words in the field A (i.e. Title) can be boosted more than words in the field B (i.e. Description).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Updated: (LUCENE-1272) Support for boost factor in MoreLikeThis

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

Jonathan Leibiusky updated LUCENE-1272:
---------------------------------------

    Attachment: morelikethis_boostfactor.patch

Updated to work with trunk

> Support for boost factor in MoreLikeThis
> ----------------------------------------
>
>                 Key: LUCENE-1272
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1272
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: contrib/*
>            Reporter: Jonathan Leibiusky
>            Assignee: Otis Gospodnetic
>            Priority: Minor
>             Fix For: 2.9
>
>         Attachments: morelikethis_boostfactor.patch
>
>
> This is a patch I made to be able to boost the terms with a specific factor beside the relevancy returned by MoreLikeThis. This is helpful when having more then 1 MoreLikeThis in the query, so words in the field A (i.e. Title) can be boosted more than words in the field B (i.e. Description).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Updated: (LUCENE-1272) Support for boost factor in MoreLikeThis

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

Otis Gospodnetic updated LUCENE-1272:
-------------------------------------

         Priority: Minor  (was: Major)
    Lucene Fields: [New, Patch Available]  (was: [Patch Available, New])
    Fix Version/s: 2.9
         Assignee: Otis Gospodnetic

I don't see any harm in this, I'll make the change later this week.

> Support for boost factor in MoreLikeThis
> ----------------------------------------
>
>                 Key: LUCENE-1272
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1272
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: contrib/*
>            Reporter: Jonathan Leibiusky
>            Assignee: Otis Gospodnetic
>            Priority: Minor
>             Fix For: 2.9
>
>         Attachments: morelikethis_boostfactor.patch
>
>
> This is a patch I made to be able to boost the terms with a specific factor beside the relevancy returned by MoreLikeThis. This is helpful when having more then 1 MoreLikeThis in the query, so words in the field A (i.e. Title) can be boosted more than words in the field B (i.e. Description).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Assigned: (LUCENE-1272) Support for boost factor in MoreLikeThis

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

Michael McCandless reassigned LUCENE-1272:
------------------------------------------

    Assignee: Michael McCandless  (was: Otis Gospodnetic)

I'll take this one.

> Support for boost factor in MoreLikeThis
> ----------------------------------------
>
>                 Key: LUCENE-1272
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1272
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: contrib/*
>            Reporter: Jonathan Leibiusky
>            Assignee: Michael McCandless
>            Priority: Minor
>             Fix For: 2.9
>
>         Attachments: morelikethis_boostfactor.patch
>
>
> This is a patch I made to be able to boost the terms with a specific factor beside the relevancy returned by MoreLikeThis. This is helpful when having more then 1 MoreLikeThis in the query, so words in the field A (i.e. Title) can be boosted more than words in the field B (i.e. Description).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Updated: (LUCENE-1272) Support for boost factor in MoreLikeThis

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

Jonathan Leibiusky updated LUCENE-1272:
---------------------------------------

    Attachment:     (was: morelikethis_boostfactor.patch)

> Support for boost factor in MoreLikeThis
> ----------------------------------------
>
>                 Key: LUCENE-1272
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1272
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: contrib/*
>            Reporter: Jonathan Leibiusky
>            Assignee: Otis Gospodnetic
>            Priority: Minor
>             Fix For: 2.9
>
>         Attachments: morelikethis_boostfactor.patch
>
>
> This is a patch I made to be able to boost the terms with a specific factor beside the relevancy returned by MoreLikeThis. This is helpful when having more then 1 MoreLikeThis in the query, so words in the field A (i.e. Title) can be boosted more than words in the field B (i.e. Description).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Commented: (LUCENE-1272) Support for boost factor in MoreLikeThis

Posted by "Otis Gospodnetic (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-1272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715555#action_12715555 ] 

Otis Gospodnetic commented on LUCENE-1272:
------------------------------------------

Jonathan, would it be possible for you to update this patch to work with the trunk, so I can apply it?  Thanks!

> Support for boost factor in MoreLikeThis
> ----------------------------------------
>
>                 Key: LUCENE-1272
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1272
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: contrib/*
>            Reporter: Jonathan Leibiusky
>            Assignee: Otis Gospodnetic
>            Priority: Minor
>             Fix For: 2.9
>
>         Attachments: morelikethis_boostfactor.patch
>
>
> This is a patch I made to be able to boost the terms with a specific factor beside the relevancy returned by MoreLikeThis. This is helpful when having more then 1 MoreLikeThis in the query, so words in the field A (i.e. Title) can be boosted more than words in the field B (i.e. Description).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Resolved: (LUCENE-1272) Support for boost factor in MoreLikeThis

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

Michael McCandless resolved LUCENE-1272.
----------------------------------------

    Resolution: Fixed

Thanks Jonathan!

> Support for boost factor in MoreLikeThis
> ----------------------------------------
>
>                 Key: LUCENE-1272
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1272
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: contrib/*
>            Reporter: Jonathan Leibiusky
>            Assignee: Michael McCandless
>            Priority: Minor
>             Fix For: 2.9
>
>         Attachments: morelikethis_boostfactor.patch
>
>
> This is a patch I made to be able to boost the terms with a specific factor beside the relevancy returned by MoreLikeThis. This is helpful when having more then 1 MoreLikeThis in the query, so words in the field A (i.e. Title) can be boosted more than words in the field B (i.e. Description).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Commented: (LUCENE-1272) Support for boost factor in MoreLikeThis

Posted by "Michael McCandless (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-1272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12730961#action_12730961 ] 

Michael McCandless commented on LUCENE-1272:
--------------------------------------------

Patch looks good.  I'll just add copyright header to the new unit test, and change the "assertTrue" that compares the floating points boosts, to assertEquals w/ an epsilon.  I'll commit shortly.

> Support for boost factor in MoreLikeThis
> ----------------------------------------
>
>                 Key: LUCENE-1272
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1272
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: contrib/*
>            Reporter: Jonathan Leibiusky
>            Assignee: Michael McCandless
>            Priority: Minor
>             Fix For: 2.9
>
>         Attachments: morelikethis_boostfactor.patch
>
>
> This is a patch I made to be able to boost the terms with a specific factor beside the relevancy returned by MoreLikeThis. This is helpful when having more then 1 MoreLikeThis in the query, so words in the field A (i.e. Title) can be boosted more than words in the field B (i.e. Description).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org