TokenizerFactory

Abstract parent class for analysis factories that create Tokenizer instances.

Since

3.1

Inheritors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

whether the luceneMatchVersion arg is explicitly specified in the serialized schema

Link copied to clipboard
lateinit var originalArgs: Map<String, String>

The original args, before any processing

Functions

Link copied to clipboard

Creates a TokenStream of the specified input using the default attribute factory.

abstract fun create(factory: AttributeFactory): Tokenizer

Creates a TokenStream of the specified input using the given AttributeFactory

Link copied to clipboard
fun get(args: MutableMap<String, String>, name: String): String?
fun get(args: MutableMap<String, String>, name: String, defaultVal: String): String
fun get(args: MutableMap<String, String>, name: String, allowedValues: MutableCollection<String>, defaultVal: String? = null, caseSensitive: Boolean = true): String?
Link copied to clipboard
fun getChar(args: MutableMap<String, String>, name: String, defaultValue: Char): Char
Link copied to clipboard

Returns whitespace- and/or comma-separated set of values, or null if none are found

Link copied to clipboard
fun require(args: MutableMap<String, String>, name: String, allowedValues: MutableCollection<String>, caseSensitive: Boolean = true): String
Link copied to clipboard