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

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: None
    • Component/s: modules/benchmark
    • Labels:
      None
    • Lucene Fields:
      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
      1. reset_config.patch
        6 kB
        Doron Cohen
      2. reset_config.patch
        4 kB
        Doron Cohen
      3. reset_config.patch
        0.6 kB
        Mark Miller

        Activity

          People

          • Assignee:
            Doron Cohen
            Reporter:
            Mark Miller
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development