Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-7350

Let classifiers be constructed from IndexReaders

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 6.4, 7.0
    • modules/classification
    • None
    • New

    Description

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

      Attachments

        Activity

          People

            teofili Tommaso Teofili
            teofili Tommaso Teofili
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: