Change type of Lucene Analyzer