You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Pedro Rosanes (JIRA)" <ji...@apache.org> on 2015/10/29 19:56:27 UTC

[jira] [Updated] (LUCENE-6869) When executing MoreLikeThis with multiple fields, it should create a query considering all fieldNames

     [ https://issues.apache.org/jira/browse/LUCENE-6869?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pedro Rosanes updated LUCENE-6869:
----------------------------------
    Component/s: core/queryparser

> When executing MoreLikeThis with multiple fields, it should create a query considering all fieldNames
> -----------------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-6869
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6869
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/query/scoring, core/queryparser
>    Affects Versions: 5.3
>            Reporter: Pedro Rosanes
>              Labels: morelikethis
>
> When executing MLT with multiple fields, it should
> considerem them all
> If a document has the same term in multiple fields, the
> mlt generates a query considering only the field with
> the higher idf. This commit changes the behaviour, to
> include in the query all fieldnames.
> Eg.:
> Last behaviour:
> Doc ("fieldName1", "value")
>     ("fieldName2", "value")
>     Old behaviour generates query: "fieldName1:value"
>     New Behaviour generates query: "fieldName1:value
>     fieldName2:value"
> Proposed solution:
> https://github.com/prosanes/lucene-solr/pull/1/files



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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