You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.request(DocumentBulkIndexRequest.builder() /* document data */ .build())
@@ -1308,9 +1308,22 @@ many more subclasses in the JDK platform).
1308
1308
<!-- Start Server Selection [server] -->
1309
1309
## Server Selection
1310
1310
1311
-
### Server Variables
1311
+
### Server URL
1312
1312
1313
-
The default server `https://{instance}-be.glean.com` contains variables and is set to `https://instance-name-be.glean.com` by default. To override default values, the following builder methods are available when initializing the SDK client instance:
1313
+
The recommended way to configure your Glean backend is using `.serverURL()` with your deployment URL:
The SDK normalizer will automatically add the `https://` scheme if omitted.
1323
+
1324
+
### Server Variables (backwards-compatible)
1325
+
1326
+
Alternatively, you can use `.instance()` to configure the server URL via template variable substitution. The default server `https://{instance}-be.glean.com` is set to `https://instance-name-be.glean.com` by default.
0 commit comments