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
Copy file name to clipboardExpand all lines: src/content/docs/extensions/index.mdx
+5-29Lines changed: 5 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,16 +7,6 @@ Ladybug has an extension API that is designed to dynamically extend its capabili
7
7
you to dynamically load the functionality you need at runtime, while helping limit the size of
8
8
the core Ladybug library.
9
9
10
-
:::caution[Note]
11
-
Ladybug no longer provides an official extensions server, from where you can directly install the official extensions.
12
-
13
-
If you've upgraded to the latest version v0.11.3, Ladybug has pre-installed and pre-loaded four commonly used extensions (`algo`, `fts`, `json`, `vector`) for you.
14
-
You do not need to manually INSTALL or LOAD these extensions.
15
-
16
-
For Ladybug versions before v0.11.3, or to install extensions that haven't been pre-installed into v0.11.3, you have to set up a local extension server.
17
-
The instructions of setting up a local extension server can be found [here](/extensions#host-your-own-extension-server).
18
-
:::
19
-
20
10
## Available extensions
21
11
22
12
The following extensions are currently implemented:
Ladybug requires you to install the extension before loading and using it.
56
46
57
-
:::caution[Note]
58
-
In the latest version v0.11.3 Ladybug has pre-installed four commonly used extensions (`algo`, `fts`, `json`, `vector`) for you.
59
-
You do not need to manually INSTALL these extensions.
60
-
:::
61
-
62
-
Official extensions can be installed from a [local extension server](/extensions#host-your-own-extension-server) by running the `INSTALL` command.
47
+
Official extensions can be installed from the official extension server by running the `INSTALL` command.
63
48
64
49
```cypher
65
-
INSTALL <EXTENSION_NAME> FROM 'http://localhost:8080/';
50
+
INSTALL <EXTENSION_NAME>;
66
51
```
67
52
You only need to install an extension once.
68
53
@@ -80,11 +65,6 @@ UPDATE <EXTENSION_NAME>;
80
65
81
66
### Load an extension
82
67
83
-
:::caution[Note]
84
-
In the latest version v0.11.3, Ladybug has pre-loaded four commonly used extensions (`algo`, `fts`, `json`, `vector`) for you.
85
-
You do not need to manually LOAD these extensions anymore.
86
-
:::
87
-
88
68
You must load extensions before you can use them:
89
69
90
70
```cypher
@@ -131,17 +111,13 @@ Uninstalling a currently loaded extension won't affect the running database inst
131
111
132
112
### Host your own extension server
133
113
134
-
You can host your own extension server for Ladybug using Docker.
114
+
If you need to host your own extension server for custom extensions, you can do so using Docker.
135
115
136
-
The extension server is based on NGINX and is hosted on [GitHub](https://ghcr.io/ladybugdb/extension-repo). You can pull the Docker image and run it in your environment:
116
+
You can pull the Docker image and run it in your environment:
docker run -d -p 8080:80 ghcr.io/ladybugdb/extension-repo:latest
141
121
```
142
122
143
-
In this example, the extension server will be available at `http://localhost:8080`. You can then install extensions from your server by appending the `FROM` clause to the `INSTALL` command:
144
-
145
-
```cypher
146
-
INSTALL <EXTENSION_NAME> FROM 'http://localhost:8080/';
147
-
```
123
+
In this example, the extension server will be available at `http://localhost:8080`.
0 commit comments