add assert to make sure we fix NamedAnalyzer when upgrading to Lucene 4.5