[
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: [email protected]
For additional commands, e-mail: [email protected]