Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-4446 Switch to BlockPostingsFormat for Lucene 4.1
  3. LUCENE-4449

Factor TestPostingsFormat into BasePostingsFormatTestCase (or similar)

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.1, 6.0
    • general/test
    • None
    • New

    Description

      TestPostingsFormat is designed to fail if you have a bug in your postings format.

      But today we just pick a random PF (or mix) and test that: I think instead we should factor this into a base class in test-framework.

      So this way each codec would extend this test and force their codec to be used to ensure basic coverage.

      We could still have the "TestPostingsFormat" in core/ that uses the random mix of PFs too.

      Attachments

        1. LUCENE-4449.patch
          75 kB
          Robert Muir

        Activity

          People

            Unassigned Unassigned
            rcmuir Robert Muir
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: