Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-6869

When executing MoreLikeThis with multiple fields, it should create a query considering all fieldNames

Details

    • New

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            prosanes Pedro Rosanes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: