lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tommaso Teofili (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENE-7350) Let classifiers be constructed from IndexReaders
Date Mon, 05 Dec 2016 12:02:58 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-7350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tommaso Teofili updated LUCENE-7350:
------------------------------------
    Fix Version/s: 6.4

> 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), 6.4
>
>
> 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