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

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Sebastian Nagel (Jira)
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.

Reply | Threaded
Open this post in threaded view
|

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

Sebastian Nagel (Jira)

     [ 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.

Reply | Threaded
Open this post in threaded view
|

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

Sebastian Nagel (Jira)
In reply to this post by Sebastian Nagel (Jira)

     [ 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.

Reply | Threaded
Open this post in threaded view
|

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

Sebastian Nagel (Jira)
In reply to this post by Sebastian Nagel (Jira)

     [ 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.

Reply | Threaded
Open this post in threaded view
|

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

Sebastian Nagel (Jira)
In reply to this post by Sebastian Nagel (Jira)

     [ 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.