lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (Updated) (JIRA)" <>
Subject [jira] [Updated] (LUCENE-3969) Use all (non-deprecated) analysis ctors in TestRandomChains
Date Mon, 09 Apr 2012 01:35:16 GMT


Robert Muir updated LUCENE-3969:

    Attachment: LUCENE-3969.patch

First cut at a patch: supports all of our analysis components, which means basically every
time you run this test now, it finds a bug.

The test ignores any invocations of UOE or IAE, and i fixed most/all trivial issues related
to that, but there are serious problems...
> Use all (non-deprecated) analysis ctors in TestRandomChains
> -----------------------------------------------------------
>                 Key: LUCENE-3969
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: modules/analysis
>            Reporter: Robert Muir
>         Attachments: LUCENE-3969.patch
> 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.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message