lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (Updated) (JIRA)" <>
Subject [jira] [Updated] (LUCENE-3873) tie MockGraphTokenFilter into all analyzers tests
Date Fri, 30 Mar 2012 17:38:27 GMT


Michael McCandless updated LUCENE-3873:

    Attachment: LUCENE-3873.patch

Patch... I think it's close, but there are still some nocommits...

I had to rework the original MockGraphTokenFilter to sometimes buffer tokens so
it can set the correct offsets.

I added a few test cases to existing analyzers (SynFilter, Japanese,
Standard), and new direct test cases.

I also created a new MockHoleInjectingTokenFilter...

Tests seem to pass... but it wouldn't surprise me if beasting/jenkins
uncovers something...

> tie MockGraphTokenFilter into all analyzers tests
> -------------------------------------------------
>                 Key: LUCENE-3873
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Task
>          Components: modules/analysis
>            Reporter: Robert Muir
>            Assignee: Michael McCandless
>         Attachments: LUCENE-3873.patch
> Mike made a MockGraphTokenFilter on LUCENE-3848.
> Many filters currently arent tested with anything but a simple tokenstream.
> we should test them with this, too, it might find bugs (zero-length terms,
> stacked terms/synonyms, etc)

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