Good point. That looks flat out broken.
-- Adam
On May 1, 2007, at 2:16 PM, Chris Hostetter wrote:
: > NGramTokenizerFactory is refering to constants from, and
constructing
: an instance of, EdgeNGramTokenizer
: Are you saying that this worries you b/c it is referenced in the
example
: schema and will thus break without the lucene-analyzers package?
I do
: agree that this example should probably be taken out for the time
being
: (at the least).
no, i'm saying that the class NGramTokenizerFactory does not produce
instances of NGramTokenizer ... it produces instances of
EdgeNGramTokenizer (which is coincidently what
EdgeNGramTokenizerFactory
does as well)
-Hoss