Uploaded image for project: 'Terrier Core'
  1. Terrier Core
  2. TR-310

Allow compressed MetaIndex to write document entries by specifying a docid

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0
    • Component/s: None
    • Labels:
      None

      Description

      Allow the compressed Meta Index to write document entries by specifying a docid. This is needed for instance when docids are not assigned incrementally. In particular, this issue can addressed by implementing the MetaIndexMap interface.

        Attachments

          Activity

          Hide
          dyaaa Dyaa Albakour added a comment -

          This patch should fix issues TREC-355, TREC-356, and TREC-357

          Show
          dyaaa Dyaa Albakour added a comment - This patch should fix issues TREC-355 , TREC-356 , and TREC-357
          Hide
          richardm Richard McCreadie added a comment -

          Integrated patch.

          Caught a bug in the second iterator for MemoryDocumentIndex.

          Unit tests pass.

          Show
          richardm Richard McCreadie added a comment - Integrated patch. Caught a bug in the second iterator for MemoryDocumentIndex. Unit tests pass.

            People

            • Assignee:
              dyaaa Dyaa Albakour
              Reporter:
              dyaaa Dyaa Albakour
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: