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

If setConfig(Config config) is called in resetInputs(), you can turn term vectors off and on by round

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 2.4
    • None
    • modules/benchmark
    • None
    • Patch Available

    Description

      I want to be able to run one benchmark that tests things using term vectors and not using term vectors.

      Currently this is not easy because you cannot specify term vectors per round.

      While you do have to create a new index per round, this automation is preferable to me in comparison to running two separate tests.

      If it doesn't affect anything else, it would be great to have setConfig(Config config) called in BasicDocMaker.resetInputs(). This would keep the term vector options up to date per round if you reset.

      • Mark

      Attachments

        1. reset_config.patch
          0.6 kB
          Mark Miller
        2. reset_config.patch
          4 kB
          Doron Cohen
        3. reset_config.patch
          6 kB
          Doron Cohen

        Activity

          People

            doronc Doron Cohen
            markrmiller@gmail.com Mark Miller
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: