lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-1272) Support for boost factor in MoreLikeThis
Date Tue, 14 Jul 2009 16:49:14 GMT

    [ 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


Mime
View raw message