lucene-dev mailing list archives

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


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

> Let classifiers be constructed from IndexReaders
> ------------------------------------------------
>                 Key: LUCENE-7350
>                 URL:
>             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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message