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)

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1, 6.0
    • Component/s: general/test
    • Labels:
      None
    • Lucene Fields:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: