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

Let classifiers be constructed from IndexReaders

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.4, 7.0
    • Component/s: modules/classification
    • Labels:
      None
    • Lucene Fields:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: