Tommaso Teofili created LUCENE-7350:
---------------------------------------

             Summary: 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to