You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Thomas Morton (JIRA)" <ji...@apache.org> on 2008/06/11 19:28:45 UTC

[jira] Created: (SOLR-595) support field level boosting to morelikethis handler.

support field level boosting to morelikethis handler.
-----------------------------------------------------

                 Key: SOLR-595
                 URL: https://issues.apache.org/jira/browse/SOLR-595
             Project: Solr
          Issue Type: New Feature
          Components: search
    Affects Versions: 1.3
            Reporter: Thomas Morton
            Priority: Minor
             Fix For: 1.3


Allow boosting to be specified for particular fields when using more like this.

# Parse out "mlt.qf parameters" to get boosts in dismax like format (existing code from DisMax param parse code used to produce a Map<String,Float>)
#   Iterate through mltquery terms, get boost by looking at field from which mltquery term came,  and multiply boost specified in map by existing term boost.

    * If mlt.boost=false, then you get the same boost values as in map/mlt.qf parameters,

    * If mlt.boost=true then you get normalized boost multiplied by specified boost (which makes sense to me).

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


[jira] Updated: (SOLR-595) support field level boosting to morelikethis handler.

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

Thomas Morton updated SOLR-595:
-------------------------------

    Attachment: SOLR-595.patch

patch to add functionality and unit tests.

> support field level boosting to morelikethis handler.
> -----------------------------------------------------
>
>                 Key: SOLR-595
>                 URL: https://issues.apache.org/jira/browse/SOLR-595
>             Project: Solr
>          Issue Type: New Feature
>          Components: search
>    Affects Versions: 1.3
>            Reporter: Thomas Morton
>            Priority: Minor
>             Fix For: 1.3
>
>         Attachments: SOLR-595.patch
>
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> Allow boosting to be specified for particular fields when using more like this.
> # Parse out "mlt.qf parameters" to get boosts in dismax like format (existing code from DisMax param parse code used to produce a Map<String,Float>)
> #   Iterate through mltquery terms, get boost by looking at field from which mltquery term came,  and multiply boost specified in map by existing term boost.
>     * If mlt.boost=false, then you get the same boost values as in map/mlt.qf parameters,
>     * If mlt.boost=true then you get normalized boost multiplied by specified boost (which makes sense to me).

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


[jira] Assigned: (SOLR-595) support field level boosting to morelikethis handler.

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

Grant Ingersoll reassigned SOLR-595:
------------------------------------

    Assignee: Grant Ingersoll

> support field level boosting to morelikethis handler.
> -----------------------------------------------------
>
>                 Key: SOLR-595
>                 URL: https://issues.apache.org/jira/browse/SOLR-595
>             Project: Solr
>          Issue Type: New Feature
>          Components: search
>    Affects Versions: 1.3
>            Reporter: Thomas Morton
>            Assignee: Grant Ingersoll
>            Priority: Minor
>             Fix For: 1.3
>
>         Attachments: SOLR-595.patch
>
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> Allow boosting to be specified for particular fields when using more like this.
> # Parse out "mlt.qf parameters" to get boosts in dismax like format (existing code from DisMax param parse code used to produce a Map<String,Float>)
> #   Iterate through mltquery terms, get boost by looking at field from which mltquery term came,  and multiply boost specified in map by existing term boost.
>     * If mlt.boost=false, then you get the same boost values as in map/mlt.qf parameters,
>     * If mlt.boost=true then you get normalized boost multiplied by specified boost (which makes sense to me).

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


[jira] Resolved: (SOLR-595) support field level boosting to morelikethis handler.

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

Grant Ingersoll resolved SOLR-595.
----------------------------------

    Resolution: Fixed

Committed revision 668638.

Made one minor change from the patch, to check to see if the boostFields is non-empty before looping over all the query clauses.

> support field level boosting to morelikethis handler.
> -----------------------------------------------------
>
>                 Key: SOLR-595
>                 URL: https://issues.apache.org/jira/browse/SOLR-595
>             Project: Solr
>          Issue Type: New Feature
>          Components: search
>    Affects Versions: 1.3
>            Reporter: Thomas Morton
>            Assignee: Grant Ingersoll
>            Priority: Minor
>             Fix For: 1.3
>
>         Attachments: SOLR-595.patch
>
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> Allow boosting to be specified for particular fields when using more like this.
> # Parse out "mlt.qf parameters" to get boosts in dismax like format (existing code from DisMax param parse code used to produce a Map<String,Float>)
> #   Iterate through mltquery terms, get boost by looking at field from which mltquery term came,  and multiply boost specified in map by existing term boost.
>     * If mlt.boost=false, then you get the same boost values as in map/mlt.qf parameters,
>     * If mlt.boost=true then you get normalized boost multiplied by specified boost (which makes sense to me).

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


[jira] Work started: (SOLR-595) support field level boosting to morelikethis handler.

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

Work on SOLR-595 started by Grant Ingersoll.

> support field level boosting to morelikethis handler.
> -----------------------------------------------------
>
>                 Key: SOLR-595
>                 URL: https://issues.apache.org/jira/browse/SOLR-595
>             Project: Solr
>          Issue Type: New Feature
>          Components: search
>    Affects Versions: 1.3
>            Reporter: Thomas Morton
>            Assignee: Grant Ingersoll
>            Priority: Minor
>             Fix For: 1.3
>
>         Attachments: SOLR-595.patch
>
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> Allow boosting to be specified for particular fields when using more like this.
> # Parse out "mlt.qf parameters" to get boosts in dismax like format (existing code from DisMax param parse code used to produce a Map<String,Float>)
> #   Iterate through mltquery terms, get boost by looking at field from which mltquery term came,  and multiply boost specified in map by existing term boost.
>     * If mlt.boost=false, then you get the same boost values as in map/mlt.qf parameters,
>     * If mlt.boost=true then you get normalized boost multiplied by specified boost (which makes sense to me).

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