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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.2, 8.0
    • Component/s: modules/classification
    • Labels:
      None
    • Lucene Fields:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: