You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by Benson Margulies <bi...@gmail.com> on 2011/04/08 17:55:15 UTC

Lucene 3 issue versus SequenceFileTokenizerMapper

SequenceFileTokenizerMapper calls newInstance on a Class object that
is supposed to be an analyzer. In Lucene 3, the StandardAnalyzer does
not have a no-args constructor, so it doesn't work. Why did we set the
lucene dependency to 3.x without doing something about this? The code
could use more complex reflection to support the lucene 3 pattern for
analyzer classes.