Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

FtsOptions

open class FtsOptions
kotlin.Any
   ↳ androidx.room.FtsOptions

Available option values that can be used with Fts3 & Fts4.

Summary

Nested classes

Constants

static String

The name of a tokenizer implemented by the ICU library.

static String

The name of the tokenizer based on the Porter Stemming Algorithm.

static String

The name of the default tokenizer used on FTS tables.

static String

The name of the tokenizer that extends the TOKENIZER_SIMPLE tokenizer according to rules in Unicode Version 6.

Constants

TOKENIZER_ICU

static val TOKENIZER_ICU: String

The name of a tokenizer implemented by the ICU library.

Not available in certain Android builds (e.g. vendor).

Value: "icu"

TOKENIZER_PORTER

static val TOKENIZER_PORTER: String

The name of the tokenizer based on the Porter Stemming Algorithm.

Value: "porter"

TOKENIZER_SIMPLE

static val TOKENIZER_SIMPLE: String

The name of the default tokenizer used on FTS tables.

Value: "simple"

TOKENIZER_UNICODE61

static val TOKENIZER_UNICODE61: String

The name of the tokenizer that extends the TOKENIZER_SIMPLE tokenizer according to rules in Unicode Version 6.1.

Value: "unicode61"