StandardTokenizerFactory

Factory for StandardTokenizer.

<fieldType name="text_stndrd" class="solr.TextField" positionIncrementGap="100">
<analyzer>
<tokenizer class="solr.StandardTokenizerFactory" maxTokenLength="255"/>
</analyzer>
</fieldType>

Since

3.1

Constructors

Link copied to clipboard
constructor(args: MutableMap<String, String>)

Creates a new StandardTokenizerFactory

constructor()

Default ctor for compatibility with SPI

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
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.

open override fun create(factory: AttributeFactory): StandardTokenizer

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