docs: use Enterprise terminology across website and SDK documentation (#4787)

Use “LanceDB Enterprise” throughout the staged website guides, SDK
reference sources, generated API pages, and user-facing SDK messages. A
separate branded “LanceDB Distributed” name adds terminology without
clarifying behavior; describe where operations run directly.

- Update `docs/web`, including the architecture diagram title and alt
text. Use Enterprise in headings, table labels, and prose; simplify
redundant product/execution-model wording and name the product only once
in the diagram alt text.
- Update Python docstrings and the Python/Java reference pages,
TypeScript comments and native declaration comments, and Rust API
documentation. Regenerate the TypeScript reference, including 24
replacements across six pages.
- Update SDK warnings/errors and existing test expectations to match,
along with contributor guidance and Vale rules. Remove the obsolete rule
distinguishing Enterprise from Distributed.
- Keep lowercase “distributed” for technical descriptions. API
identifiers, anchors, asset paths, and execution behavior are unchanged.
No branded-name exceptions are proposed.

Validation:
- Python and Node native builds succeeded; focused Python tests passed
(36 passed, 4 skipped), and focused Node tests passed (14).
- TypeDoc generation and the complete MkDocs reference build passed.
MkDocs retains an existing unresolved
`lancedb.functions.SecretReference` cross-reference.
- Rust formatting, Node lint/format, changed-file Python lint/format, 32
Vale tests, and whitespace checks passed. Repository-wide Python lint
has 48 existing findings in six untouched files.
- Combined documentation assembly passed. Mintlify validation and
link/anchor/redirect checks previously passed for both site builds; no
code snippets changed.

Companion PRs: [saved editions, terminology guide, and shared
rules](https://github.com/lancedb/docs/pull/413), [Enterprise overview
and writing rules](https://github.com/lancedb/sophon/pull/9511).

---------

Co-authored-by: Brendan Clement <brendan.clement@lancedb.com>
This commit is contained in:
Taylor
2026-11-02 10:25:14 -08:00
committed by GitHub
co-authored by Brendan Clement
parent 2d86532de9
commit 9e65bd2c27
59 changed files with 301 additions and 311 deletions
+4 -4
View File
@@ -115,14 +115,14 @@ describe("remote connection", () => {
...options,
mode: "overwrite",
}),
).rejects.toThrow(/write_options.*LanceDB Distributed/);
).rejects.toThrow(/write_options.*LanceDB Enterprise/);
await expect(
db.createEmptyTable(
"test",
new Schema([new Field("value", new Int64(), true)]),
options,
),
).rejects.toThrow(/write_options.*LanceDB Distributed/);
).rejects.toThrow(/write_options.*LanceDB Enterprise/);
},
);
expect(requests).toEqual([]);
@@ -141,7 +141,7 @@ describe("remote connection", () => {
await expect(
db.openTable("test", undefined, options),
).rejects.toThrow(
/not supported for table access in LanceDB Distributed/,
/not supported for table access in LanceDB Enterprise/,
);
},
);
@@ -318,7 +318,7 @@ describe("remote connection", () => {
],
];
for (const [run, operation] of cases) {
let message = `LanceDBError: not supported: ${operation} is not supported in LanceDB Distributed.`;
let message = `LanceDBError: not supported: ${operation} is not supported in LanceDB Enterprise.`;
if (operation === "IVF_HNSW_PQ") {
message += " Please use IVF_HNSW_SQ instead.";
}
+4 -4
View File
@@ -4559,14 +4559,14 @@ describe.each(arrowVersions)(
];
const table = await db.createTable("prewarm_data_test", data);
// prewarmData is only supported in LanceDB Distributed. We verify the call
// prewarmData is only supported in LanceDB Enterprise. We verify the call
// is wired through napi and surfaces the expected error for both
// arg shapes (undefined and string[]).
await expect(table.prewarmData()).rejects.toThrow(
"prewarm_data is currently only supported in LanceDB Distributed",
"prewarm_data is currently only supported in LanceDB Enterprise",
);
await expect(table.prewarmData(["text"])).rejects.toThrow(
"prewarm_data is currently only supported in LanceDB Distributed",
"prewarm_data is currently only supported in LanceDB Enterprise",
);
});
@@ -5577,7 +5577,7 @@ describe("computed columns", () => {
const db = await connect(tmpDir.name);
const table = await db.createTable("errors_local", [{ x: 1 }]);
await expect(table.functionErrors()).rejects.toThrow(
"recorded only in LanceDB Distributed",
"recorded only in LanceDB Enterprise",
);
});
+1 -1
View File
@@ -274,7 +274,7 @@ export class BlobFile {
export type BlobReadOptions = {
/**
* Cancels the read. The call rejects with `signal.reason`, and the native
* read stops, including in-flight requests to a LanceDB Distributed table.
* read stops, including in-flight requests to a LanceDB Enterprise table.
*/
signal?: AbortSignal;
};
+2 -2
View File
@@ -272,7 +272,7 @@ export abstract class Connection {
*
* LanceDB Embedded creation and refresh require a source build with the
* `experimental-functions` Cargo feature, disabled in published packages.
* LanceDB Distributed operations do not require this feature.
* LanceDB Enterprise operations do not require this feature.
*
* The view is populated before creation returns. Set `withNoData` to create
* only its definition and empty backing table. The view is a normal table:
@@ -558,7 +558,7 @@ export abstract class Connection {
/**
* Rename a table.
*
* Supported in LanceDB Distributed and by namespace backends that implement
* Supported in LanceDB Enterprise and by namespace backends that implement
* renaming. Directory namespaces support renaming tables resolved through their
* manifest, including tables within or across child namespaces. LanceDB Embedded
* connections and directory-listing root tables reject with a "not supported" error.
+9 -9
View File
@@ -129,7 +129,7 @@ export interface AddDataOptions {
* Whether blob URIs outside registered external bases may be written.
*
* Defaults to `false`. This option is supported only in LanceDB Embedded;
* LanceDB Distributed returns an error when it is enabled. An enabled write
* LanceDB Enterprise returns an error when it is enabled. An enabled write
* stores the absolute URI reference without registering a base or copying
* the external object into the database. The object must remain accessible
* when the blob is read later.
@@ -443,7 +443,7 @@ export abstract class Table {
* Large columns (e.g. high-dimensional vectors or binary data) may not be
* practical to prewarm.
*
* This feature is currently only supported in LanceDB Distributed.
* This feature is currently only supported in LanceDB Enterprise.
*/
abstract prewarmData(columns?: string[]): Promise<void>;
@@ -601,7 +601,7 @@ export abstract class Table {
*
* LanceDB Embedded computed-column declaration and refresh require a source
* build with the `experimental-functions` Cargo feature. Published packages
* disable it; LanceDB Distributed operations remain available.
* disable it; LanceDB Enterprise operations remain available.
*
* The `{ computed }` form stores the expression rather than evaluating it
* now: the column is committed with no values, and rows get them from
@@ -613,7 +613,7 @@ export abstract class Table {
* declaration reads a column, that column cannot be renamed, retyped or
* dropped.
*
* In LanceDB Distributed the expression is planned by the
* In LanceDB Enterprise the expression is planned by the
* server, and the refresh runs as a server job -- see
* {@link Table#refreshColumnAsync}.
* @param {AddColumnsSql[] | Field | Field[] | Schema} newColumnTransforms Either:
@@ -646,7 +646,7 @@ export abstract class Table {
* Rows appended since the last refresh are filled by the next one, and
* rows whose inputs changed since they were computed are recomputed;
* everything else is left as it is. LanceDB Embedded only: in LanceDB
* Distributed a refresh runs as a server job, through {@link Table#refreshColumnAsync}.
* Enterprise a refresh runs as a server job, through {@link Table#refreshColumnAsync}.
* @param {string} column The name of the computed column to fill.
* @returns {Promise<RefreshColumnResult>} A promise that resolves to the
* number of rows filled and the new version number of the table.
@@ -657,14 +657,14 @@ export abstract class Table {
* Like {@link Table#refreshColumn}, but returns a handle to the refresh
* job instead of blocking until it completes.
* LanceDB Embedded refresh requires a source build with
* `experimental-functions`. LanceDB Distributed jobs do not require this
* `experimental-functions`. LanceDB Enterprise jobs do not require this
* feature.
*
* The job may already be complete when returned; callers must not assume
* the column is filled until {@link Job.wait} resolves. Invalid input --
* an unknown column, or one that is not computed -- rejects here rather
* than failing the job. In LanceDB Embedded the job runs in-process; in
* LanceDB Distributed it is the server's backfill job.
* LanceDB Enterprise it is the server's backfill job.
* @param {string} column The name of the computed column to fill.
* @example
* ```ts
@@ -681,7 +681,7 @@ export abstract class Table {
* A refresh running under a skip policy records each row it skipped with
* the input that failed and the error. This lists those records, newest
* job first, plus a summary for any fragment whose per-row detail was
* capped. LanceDB Distributed only; reading errors needs read
* capped. LanceDB Enterprise only; reading errors needs read
* access to the table, since a message carries the value that failed.
* @param {FunctionErrorsOptions} options Optional filters: `jobId`,
* `column`, and `limit` (server default 10000, cap 100000).
@@ -1000,7 +1000,7 @@ export abstract class Table {
* Specify exactly one of `column` or `indexName`.
*
* Model-backed tokenizers such as `jieba/*` and `lindera/*` are rebuilt in
* the client process from index metadata. In LanceDB Distributed, this means the
* the client process from index metadata. In LanceDB Enterprise, this means the
* same tokenizer model files must also exist locally (under
* `LANCE_LANGUAGE_MODEL_HOME`) and must match the files the server uses. A
* mismatch cannot be detected: the returned tokens may differ from what the
+14 -15
View File
@@ -831,7 +831,7 @@ impl Table {
self.inner_ref()?
.as_native()
.ok_or_else(|| lancedb::Error::NotSupported {
message: "uses_v2_manifest_paths is not supported in LanceDB Distributed.".into(),
message: "uses_v2_manifest_paths is not supported in LanceDB Enterprise.".into(),
})
.default_error()?
.uses_v2_manifest_paths()
@@ -844,8 +844,7 @@ impl Table {
self.inner_ref()?
.as_native()
.ok_or_else(|| lancedb::Error::NotSupported {
message: "migrate_manifest_paths_v2 is not supported in LanceDB Distributed."
.into(),
message: "migrate_manifest_paths_v2 is not supported in LanceDB Enterprise.".into(),
})
.default_error()?
.migrate_manifest_paths_v2()
@@ -868,40 +867,40 @@ pub struct IndexConfig {
pub columns: Vec<String>,
/// The UUID of the first segment of the index.
///
/// `undefined` in LanceDB Distributed, which does not yet surface this.
/// `undefined` in LanceDB Enterprise, which does not yet surface this.
pub index_uuid: Option<String>,
/// The protobuf type URL, a precise type identifier for the index.
///
/// `undefined` in LanceDB Distributed.
/// `undefined` in LanceDB Enterprise.
pub type_url: Option<String>,
/// When the index was created.
///
/// `undefined` in LanceDB Distributed or indices created before timestamps were tracked.
/// `undefined` in LanceDB Enterprise or indices created before timestamps were tracked.
pub created_at: Option<DateTime<Utc>>,
/// The number of rows indexed, across all segments.
///
/// May be `undefined` in LanceDB Distributed if the server does not report it.
/// May be `undefined` in LanceDB Enterprise if the server does not report it.
pub num_indexed_rows: Option<i64>,
/// The number of rows not yet covered by this index.
///
/// May be `undefined` in LanceDB Distributed if the server does not report it.
/// May be `undefined` in LanceDB Enterprise if the server does not report it.
pub num_unindexed_rows: Option<i64>,
/// The total size in bytes of all index files across all segments.
///
/// `undefined` in LanceDB Distributed or indices without size tracking.
/// `undefined` in LanceDB Enterprise or indices without size tracking.
pub size_bytes: Option<i64>,
/// The number of segments that make up the index.
///
/// `undefined` in LanceDB Distributed.
/// `undefined` in LanceDB Enterprise.
pub num_segments: Option<i32>,
/// The on-disk index format version.
///
/// `undefined` in LanceDB Distributed.
/// `undefined` in LanceDB Enterprise.
pub index_version: Option<i32>,
/// Index-type-specific details parsed as a JavaScript object.
///
/// Falls back to a raw string if JSON parsing fails. `undefined` in
/// LanceDB Distributed or when details are unavailable.
/// LanceDB Enterprise or when details are unavailable.
pub index_details: Option<serde_json::Value>,
}
@@ -1617,11 +1616,11 @@ impl From<lancedb::function::FunctionErrors> for FunctionErrors {
#[napi(object)]
pub struct RefreshMaterializedViewResult {
/// How the view was brought up to date: "rebuild", or absent for LanceDB Distributed SQL refreshes.
/// How the view was brought up to date: "rebuild", or absent for LanceDB Enterprise SQL refreshes.
pub mode: Option<String>,
/// Rows written by this refresh, or absent for LanceDB Distributed SQL refreshes.
/// Rows written by this refresh, or absent for LanceDB Enterprise SQL refreshes.
pub rows_written: Option<i64>,
/// Source version refreshed to, or absent for LanceDB Distributed SQL refreshes.
/// Source version refreshed to, or absent for LanceDB Enterprise SQL refreshes.
pub source_version: Option<i64>,
pub version: i64,
}