lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-7991) KNearestNeighborDocumentClassifier.knnSearch applies previous boosted field's factor to subsequent unboosted fields
Date Wed, 18 Oct 2017 12:36:00 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-7991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16209252#comment-16209252
] 

ASF subversion and git services commented on LUCENE-7991:
---------------------------------------------------------

Commit 6aa312a8db194771ee49922907d2b534728688cb in lucene-solr's branch refs/heads/master
from [~cpoerschke]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=6aa312a ]

LUCENE-7991: KNearestNeighborDocumentClassifier.knnSearch no longer applies a previous boosted
field's factor to subsequent unboosted fields.


> 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
>          Components: modules/classification
>            Reporter: Christine Poerschke
>            Assignee: Christine Poerschke
>            Priority: Minor
>         Attachments: LUCENE-7991.patch
>
>
> 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


Mime
View raw message