You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2009/07/14 18:49:14 UTC

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

    [ 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