lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <>
Subject [jira] Commented: (LUCENE-1804) Can't specify AttributeSource for Tokenizer
Date Wed, 12 Aug 2009 16:43:14 GMT


Yonik Seeley commented on LUCENE-1804:

OO design principal of not removing functionality - Tokenizer's superclass can specify it's
AttributeSource... why can't Tokenizer?  We shouldn't disallow it just because we can't immediately
think of a use case.

bq. I am still not sure, why a simple TokenFilter does not serve the same pupose you would
like to have with Tokenizer here.

Simplest case: a Tokenizer that delegates to an existing Tokenizer or TokenStream?

> Can't specify AttributeSource for Tokenizer
> -------------------------------------------
>                 Key: LUCENE-1804
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Bug
>            Reporter: Yonik Seeley
>         Attachments: LUCENE-1804.patch
> One can't currently specify the attribute source for a Tokenizer like one can with any
other TokenStream.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

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

View raw message