lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (LUCENE-7350) Let classifiers be constructed from IndexReaders
Date Mon, 05 Dec 2016 12:01:58 GMT


ASF subversion and git services commented on LUCENE-7350:

Commit 406535a3a8fcb5c92e15854d89c1dc8407852f0e in lucene-solr's branch refs/heads/branch_6x
from [~jpountz]
[;h=406535a ]

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

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