lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (Commented) (JIRA)" <>
Subject [jira] [Commented] (LUCENE-2788) Make CharFilter reusable
Date Wed, 21 Mar 2012 18:57:41 GMT


Robert Muir commented on LUCENE-2788:

The patch likely needs to be brought up to speed (probably not too bad, but maybe some work).

I'm gonna be focused on 3.6 for a while, so if anyone wants to take this, feel free!
> Make CharFilter reusable
> ------------------------
>                 Key: LUCENE-2788
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: modules/analysis
>            Reporter: Robert Muir
>            Priority: Minor
>         Attachments: LUCENE-2788.patch
> The CharFilter API lets you wrap a Reader, altering the contents before the Tokenizer
sees them.
> It also allows you to correct the offsets so this is transparent to highlighting.
> One problem is that the API isn't reusable, if you have a lot of short documents its
going to be efficient.
> Additionally there is some unnecessary wrapping in Tokenizer (see the CharReader.get
in the ctor, but *not* in reset(Reader)!!!)

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