# FtsOptions

Artifact: [androidx.room:room-common](https://developer.android.com/jetpack/androidx/releases/room) [View Source](https://cs.android.com/search?q=file:androidx/room/FtsOptions.kt+class:androidx.room.FtsOptions) Added in [2.1.0](https://developer.android.com/jetpack/androidx/releases/room#2.1.0)

*** ** * ** ***

Common/AllAndroid/JVMNative/C/iOSJavaScript
- Cmn

  ```
  object FtsOptions
  ```

*** ** * ** ***

Available option values that can be used with `https://developer.android.com/reference/kotlin/androidx/room/Fts3`\&`https://developer.android.com/reference/kotlin/androidx/room/Fts4`.

## Summary

| ### Nested types |
|---|
| `enum https://developer.android.com/reference/kotlin/androidx/room/FtsOptions.MatchInfo : https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-enum/index.html<https://developer.android.com/reference/kotlin/androidx/room/FtsOptions.MatchInfo>` |
| `enum https://developer.android.com/reference/kotlin/androidx/room/FtsOptions.Order : https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-enum/index.html<https://developer.android.com/reference/kotlin/androidx/room/FtsOptions.Order>` |

| ### Constants |
|---|---|---|
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/room/FtsOptions#TOKENIZER_ICU()` The name of a tokenizer implemented by the ICU library. | Cmn |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/room/FtsOptions#TOKENIZER_PORTER()` The name of the tokenizer based on the Porter Stemming Algorithm. | Cmn |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/room/FtsOptions#TOKENIZER_SIMPLE()` The name of the default tokenizer used on FTS tables. | Cmn |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/room/FtsOptions#TOKENIZER_UNICODE61()` The name of the tokenizer that extends the `https://developer.android.com/reference/kotlin/androidx/room/FtsOptions#TOKENIZER_SIMPLE()` tokenizer according to rules in Unicode Version 6.1. | Cmn |

## Constants

### TOKENIZER_ICU

Cmn Added in [2.1.0](https://developer.android.com/jetpack/androidx/releases/room#2.1.0)

```
const val TOKENIZER_ICU: String
```

The name of a tokenizer implemented by the ICU library.

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

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/room/Fts4#tokenizer()` |   |
| `https://developer.android.com/reference/kotlin/androidx/room/Fts4#tokenizerArgs()` |   |

### TOKENIZER_PORTER

Cmn Added in [2.1.0](https://developer.android.com/jetpack/androidx/releases/room#2.1.0)

```
const val TOKENIZER_PORTER: String
```

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

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/room/Fts4#tokenizer()` |   |
| `https://developer.android.com/reference/kotlin/androidx/room/Fts4#tokenizerArgs()` |   |

### TOKENIZER_SIMPLE

Cmn Added in [2.1.0](https://developer.android.com/jetpack/androidx/releases/room#2.1.0)

```
const val TOKENIZER_SIMPLE: String
```

The name of the default tokenizer used on FTS tables.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/room/Fts4#tokenizer()` |   |
| `https://developer.android.com/reference/kotlin/androidx/room/Fts4#tokenizerArgs()` |   |

### TOKENIZER_UNICODE61

Cmn Added in [2.1.0](https://developer.android.com/jetpack/androidx/releases/room#2.1.0)

```
const val TOKENIZER_UNICODE61: String
```

The name of the tokenizer that extends the `https://developer.android.com/reference/kotlin/androidx/room/FtsOptions#TOKENIZER_SIMPLE()` tokenizer according to rules in Unicode Version 6.1.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/room/Fts4#tokenizer()` |   |
| `https://developer.android.com/reference/kotlin/androidx/room/Fts4#tokenizerArgs()` |   |