Uploaded image for project: 'Lucy'
  1. Lucy
  2. LUCY-118

Lucy::Index::DataReader - Abstract base class for reading index data.

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • None
    • Index
    • None

    Description

      DataReader is an integral part of our modular index system, serving as a base
      class for all component classes which read from the index - including both
      single-segment readers and composite multi-segment readers. Index components,
      which may be added or omitted using Architecture, typically consist of a
      DataReader/DataWriter pair, e.g. PostingListReader/PostingListWriter.

      DataReader's members include a Schema and a Folder, a Snapshot which defines
      the files the DataReader may access safely, and an array of Segment objects.
      Single-segment readers are assigned to one Segment within the array, but also
      get access to all the other Segments; this is important, because metadata from
      older or newer Segments may be used to make decisions and control behavior.

      Attachments

        1. DataReader.bp
          3 kB
          Marvin Humphrey
        2. DataReader.c
          2 kB
          Marvin Humphrey
        3. DataReader.pm
          2 kB
          Marvin Humphrey

        Activity

          People

            marvin Marvin Humphrey
            marvin Marvin Humphrey
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: