This is actually what I mean by [intentional] door shutting -- we want to disallow extending our analyzers because it can easily lead to sneaky problems, and, because it's so simple to make your own analyzer that builds up the same chain.
Mike On Wed, Mar 3, 2010 at 11:14 AM, Robert Muir <[email protected]> wrote: > In the analyzers case, I don't think its really door-shutting. if someone > extends an Analyzer, its likely to just result in problems from the > tokenStream/reusableTokenStream mess. > > On Wed, Mar 3, 2010 at 11:10 AM, Grant Ingersoll <[email protected]> > wrote: >> >> On Mar 1, 2010, at 2:51 AM, Michael McCandless wrote: >> >> > Yeah in the case of DirectoryReader/MultiReader, I'd like for them to >> > be final, not for performance but for door-shutting (ie the same >> > reason we make analyzers final). >> >> Door shutting often is not a good thing, especially in a project like >> Lucene where many people extend in ways we can't dream of. >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> > > > > -- > Robert Muir > [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
