Commit a1c2b82
committed
feat(search): Add a new tool to list search and vector search indexes
It detects if the cluster supports search indexes the same way we
do in all other tooling: by catching the exception. In some old
clusters it might still return an empty list for unsupported
custers, but we can't really know for sure.
As we depend on mongot, we need to use the Atlas local
image, which is not supported by mongodb-runner. Instead,
we use testcontainers, that allows to run any docker image,
which is enough for our use case.
For now only run docker tests in Ubuntu
* macos-latest does not support nested virtualisation yet
* we don't have windows containers for atlas images1 parent 071fc3b commit a1c2b82
File tree
12 files changed
+1257
-43
lines changed- .github/workflows
- src/tools/mongodb
- search
- tests
- accuracy
- integration
- tools
- atlas
- mongodb
- search
- transports
12 files changed
+1257
-43
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
23 | 28 | | |
24 | 29 | | |
25 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
24 | 29 | | |
25 | 30 | | |
26 | 31 | | |
| |||
0 commit comments