You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Christine Poerschke (JIRA)" <ji...@apache.org> on 2017/10/10 11:33:00 UTC

[jira] [Created] (LUCENE-7991) KNearestNeighborDocumentClassifier.knnSearch applies previous boosted field's factor to subsequent unboosted fields

Christine Poerschke created LUCENE-7991:
-------------------------------------------

             Summary: KNearestNeighborDocumentClassifier.knnSearch applies previous boosted field's factor to subsequent unboosted fields
                 Key: LUCENE-7991
                 URL: https://issues.apache.org/jira/browse/LUCENE-7991
             Project: Lucene - Core
          Issue Type: Bug
            Reporter: Christine Poerschke
            Priority: Minor


When reading code noticed that in [KNearestNeighborClassifier|https://github.com/apache/lucene-solr/blob/releases/lucene-solr/7.0.1/lucene/classification/src/java/org/apache/lucene/classification/KNearestNeighborClassifier.java#L179-L182] a neutral boost factor is restored but in [KNearestNeighborDocumentClassifier|https://github.com/apache/lucene-solr/blob/releases/lucene-solr/7.0.1/lucene/classification/src/java/org/apache/lucene/classification/document/KNearestNeighborDocumentClassifier.java#L126] this currently does not happen. This seems unintended.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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