Files
lancedb/docs/src/js/interfaces/OpenTableOptions.md
Prashanth Rao 135dfdc7ec docs: 404 and outdated URLs should now work (#2800)
Did a full scan of all URLs that used to point to the old mkdocs pages,
and now links to the appropriate pages on lancedb.com/docs or lance.org
docs.

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-20 11:14:20 -08:00

1.0 KiB

@lancedb/lancedbDocs


@lancedb/lancedb / OpenTableOptions

Interface: OpenTableOptions

Properties

indexCacheSize?

optional indexCacheSize: number;

Set the size of the index cache, specified as a number of entries

Deprecated

Use session-level cache configuration instead. Create a Session with custom cache sizes and pass it to the connect() function.

The exact meaning of an "entry" will depend on the type of index:

  • IVF: there is one entry for each IVF partition
  • BTREE: there is one entry for the entire index

This cache applies to the entire opened table, across all indices. Setting this value higher will increase performance on larger datasets at the expense of more RAM


storageOptions?

optional storageOptions: Record<string, string>;

Configuration for object storage.

Options already set on the connection will be inherited by the table, but can be overridden here.

The available options are described at https://lancedb.com/docs/storage/