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

Use all (non-deprecated) analysis ctors in TestRandomChains

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0-ALPHA, 3.6.1
    • modules/analysis
    • None
    • New

    Description

      We made TestRandomChains in LUCENE-3919, which reflects all
      analysis components from the classpath and builds analyzers from them,
      then checks consistency.

      but currently it only supports some tokenizers/tokenfilters/charfilters,
      because it hardcodes at certain ctors e.g. Tokenizer(Reader) and Tokenizer(Version+Reader).

      Instead we should use all ctors, just filling them in with random data of
      whatever argument type they take.

      Attachments

        1. LUCENE-3969.patch
          30 kB
          Robert Muir
        2. LUCENE-3969.patch
          36 kB
          Robert Muir
        3. LUCENE-3969.patch
          36 kB
          Uwe Schindler
        4. LUCENE-3969.patch
          37 kB
          Uwe Schindler
        5. LUCENE-3969.patch
          39 kB
          Uwe Schindler
        6. LUCENE-3969.patch
          41 kB
          Uwe Schindler

        Activity

          People

            Unassigned Unassigned
            rcmuir Robert Muir
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: