Java org.apache.lucene.analysis MockTokenizer fields, constructors, methods, implement or subclass

Example usage for Java org.apache.lucene.analysis MockTokenizer fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.lucene.analysis MockTokenizer.

The text is from its open source code.

Field

CharacterRunAutomatonWHITESPACE
Acts Similar to WhitespaceTokenizer
CharacterRunAutomatonKEYWORD
Acts Similar to KeywordTokenizer.
CharacterRunAutomatonSIMPLE
Acts like LetterTokenizer.

Constructor

Method

voidsetEnableChecks(boolean enableChecks)
Toggle consumer workflow checking: if your test consumes tokenstreams normally you should leave this enabled.