lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENE-3894) Make BaseTokenStreamTestCase a bit more evil
Date Tue, 20 Mar 2012 21:49:40 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-3894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael McCandless updated LUCENE-3894:
---------------------------------------

    Attachment: LUCENE-3894.patch

Patch; tests pass.

I had to fix up Edge/NGramTokenizers to work w/ spoon feeding, but otherwise no analyzers
seem to be failing, at least on one run...

I had to do some sneaky things with MockTokenizer to work around its state machine...
                
> Make BaseTokenStreamTestCase a bit more evil
> --------------------------------------------
>
>                 Key: LUCENE-3894
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3894
>             Project: Lucene - Java
>          Issue Type: Improvement
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: 3.6, 4.0
>
>         Attachments: LUCENE-3894.patch
>
>
> Throw an exception from the Reader while tokenizing, stop after not consuming all tokens,
sometimes spoon-feed chars from the reader...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message