lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Male (JIRA)" <>
Subject [jira] [Updated] (LUCENE-3397) Cleanup Test TokenStreams so they are reusable
Date Wed, 24 Aug 2011 12:55:29 GMT


Chris Male updated LUCENE-3397:

    Attachment: LUCENE-3397.patch

Patch which adds state resetting to TokenStreams created in tests.  

The only other TSs which are not reusable are done so by design to test that something can
handle non-reusable TSs.  When we made reuse mandatory, we can drop these tests and remove
the non reusable TSs.

> Cleanup Test TokenStreams so they are reusable
> ----------------------------------------------
>                 Key: LUCENE-3397
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Sub-task
>          Components: modules/analysis
>            Reporter: Chris Male
>         Attachments: LUCENE-3397.patch
> Many TokenStreams created in tests are not reusable.  Some do some really messy things
which prevent their reuse so we may have to change the tests themselves.
> We'll target back porting this to 3x.

This message is automatically generated by JIRA.
For more information on JIRA, see:


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

View raw message