Currently MockAnalyzer's checks are implemented with assert. But this is just for convenience, we should not rely upon asserts being turned on: this is the whole point of the class.
Migrated from LUCENE-6127 by Robert Muir (@rmuir)
Attachments: LUCENE-6127.patch
Currently MockAnalyzer's checks are implemented with assert. But this is just for convenience, we should not rely upon asserts being turned on: this is the whole point of the class.
Migrated from LUCENE-6127 by Robert Muir (@rmuir)
Attachments: LUCENE-6127.patch