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-7350) Let classifiers be constructed from IndexReaders
Date Mon, 05 Dec 2016 12:01:58 GMT

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

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

Commit 406535a3a8fcb5c92e15854d89c1dc8407852f0e in lucene-solr's branch refs/heads/branch_6x
from [~jpountz]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=406535a ]

LUCENE-7350: Remove unused imports.
(cherry picked from commit 281af8b)


> Let classifiers be constructed from IndexReaders
> ------------------------------------------------
>
>                 Key: LUCENE-7350
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7350
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: modules/classification
>            Reporter: Tommaso Teofili
>            Assignee: Tommaso Teofili
>             Fix For: master (7.0)
>
>
> Current {{Classifier}} implementations are built from {{LeafReaders}}, this is an heritage
of using certain Lucene 4.x {{AtomicReader}}'s specific APIs; this is no longer required as
what is used by current implementations is based on {{IndexReader}} APIs and therefore it
makes more sense to use that as constructor parameter as it doesn't give any additional benefit
whereas it requires client code to deal with classifiers that are tight to segments (which
doesn't make much sense).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message