Lucene - Core
  1. Lucene - Core
  2. LUCENE-5957

Add option for tests to not randomize codec

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      This is particularly useful when creating the backcompat indexes, since it is a pain to figure out which codec you need to specify to avoid being randomized. Something like -Dtests.codec=default could simply bypass the randomization of the codec.

        Activity

        Hide
        Ryan Ernst added a comment -

        Simple patch. I couldn't find anywhere that was testing the codec randomization, but if someone knows about one, I'd love to add a test...

        Show
        Ryan Ernst added a comment - Simple patch. I couldn't find anywhere that was testing the codec randomization, but if someone knows about one, I'd love to add a test...
        Hide
        ASF subversion and git services added a comment -

        Commit 1625812 from Ryan Ernst in branch 'dev/trunk'
        [ https://svn.apache.org/r1625812 ]

        LUCENE-5957: Add option for tests to not randomize codec

        Show
        ASF subversion and git services added a comment - Commit 1625812 from Ryan Ernst in branch 'dev/trunk' [ https://svn.apache.org/r1625812 ] LUCENE-5957 : Add option for tests to not randomize codec
        Hide
        ASF subversion and git services added a comment -

        Commit 1625814 from Ryan Ernst in branch 'dev/branches/branch_4x'
        [ https://svn.apache.org/r1625814 ]

        LUCENE-5957: Add option for tests to not randomize codec (merged 1625812)

        Show
        ASF subversion and git services added a comment - Commit 1625814 from Ryan Ernst in branch 'dev/branches/branch_4x' [ https://svn.apache.org/r1625814 ] LUCENE-5957 : Add option for tests to not randomize codec (merged 1625812)

          People

          • Assignee:
            Ryan Ernst
            Reporter:
            Ryan Ernst
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development