Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-8391

Better tests for merge policies

Details

    • Test
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 7.5, 8.0
    • None
    • None
    • New

    Description

      Testing merge policies was hard in the past because it could only be done by setting up and IndexWriter, adding documents and making sure that merges behave as expected. The fact that MergePolicy doesn't need an IndexWriter anymore (LUCENE-8330) should make things easier since we should now be able to simulate merges without having to create an index.

      Attachments

        1. LUCENE-8391.patch
          21 kB
          Adrien Grand
        2. LUCENE-8391.patch
          21 kB
          Adrien Grand

        Activity

          People

            Unassigned Unassigned
            jpountz Adrien Grand
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: