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

KNearestNeighborDocumentClassifier.knnSearch applies previous boosted field's factor to subsequent unboosted fields

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 7.2, 8.0
    • modules/classification
    • None
    • New

    Description

      When reading code noticed that in KNearestNeighborClassifier a neutral boost factor is restored but in KNearestNeighborDocumentClassifier this currently does not happen. This seems unintended.

      Attachments

        1. LUCENE-7991.patch
          1 kB
          Christine Poerschke

        Activity

          People

            cpoerschke Christine Poerschke
            cpoerschke Christine Poerschke
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: