Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-5519

uv3 clarify use of ll_indexsize - used incorrectly in one spot

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0SDK-beta
    • Core Java Framework
    • None

    Description

      Given an iterator, there are two definitions of index size. One is the size as seen by the iterator, which in v3, may not be the current index size (because iterators iterate over a view of the index at a particular point in time - either the time of iterator creation, or when a moveTo, moveToFirst, or moveToLast operation happens (except for snapshot iterators)). The other size is the current size of the index (and any sub-type indexes).

      Change the name of the api to indicate this to reduce mistakes in the future. Change uses which are incorrect (which need the current index size).

      Attachments

        Activity

          People

            schor Marshall Schor
            schor Marshall Schor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: