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

Enable the use of NoMergePolicy and NoMergeScheduler by Benchmark

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.1, 4.0-ALPHA
    • modules/benchmark
    • None
    • New, Patch Available

    Description

      Benchmark allows one to set the MP and MS to use, by defining the class name and then use reflection to instantiate them. However NoMP and NoMS are singletons and therefore reflection does not work for them. Easy fix in CreateIndexTask. I'll post a patch soon.

      Attachments

        1. LUCENE-2377.patch
          6 kB
          Shai Erera

        Activity

          People

            shaie Shai Erera
            shaie Shai Erera
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: