| 1 | [**@lancedb/lancedb**](../README.md) • **Docs** |
| 2 | |
| 3 | *** |
| 4 | |
| 5 | [@lancedb/lancedb](../globals.md) / IndexOptions |
| 6 | |
| 7 | # Interface: IndexOptions |
| 8 | |
| 9 | ## Properties |
| 10 | |
| 11 | ### config? |
| 12 | |
| 13 | > `optional` **config**: [`Index`](../classes/Index.md) |
| 14 | |
| 15 | Advanced index configuration |
| 16 | |
| 17 | This option allows you to specify a specfic index to create and also |
| 18 | allows you to pass in configuration for training the index. |
| 19 | |
| 20 | See the static methods on Index for details on the various index types. |
| 21 | |
| 22 | If this is not supplied then column data type(s) and column statistics |
| 23 | will be used to determine the most useful kind of index to create. |
| 24 | |
| 25 | *** |
| 26 | |
| 27 | ### replace? |
| 28 | |
| 29 | > `optional` **replace**: `boolean` |
| 30 | |
| 31 | Whether to replace the existing index |
| 32 | |
| 33 | If this is false, and another index already exists on the same columns |
| 34 | and the same name, then an error will be returned. This is true even if |
| 35 | that index is out of date. |
| 36 | |
| 37 | The default is true |