Lucene - Core
  1. Lucene - Core
  2. LUCENE-3969

Use all (non-deprecated) analysis ctors in TestRandomChains

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0-ALPHA, 3.6.1
    • Component/s: modules/analysis
    • Labels:
      None
    • Lucene Fields:
      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.

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

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Robert Muir
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development