Skip to content

Commit 9041876

Browse files
authored
Merge branch 'main' into descope
2 parents 78b0299 + c70ef1d commit 9041876

File tree

4 files changed

+884
-639
lines changed

4 files changed

+884
-639
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/backup/index.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,14 @@ import BackupRestorer from './backupRestorer.js';
66

77
export type Backend = 'filesystem' | 's3' | 'gcs' | 'azure';
88
export type BackupStatus = 'STARTED' | 'TRANSFERRING' | 'TRANSFERRED' | 'SUCCESS' | 'FAILED';
9-
export type BackupCompressionLevel = 'DefaultCompression' | 'BestSpeed' | 'BestCompression';
9+
export type BackupCompressionLevel =
10+
| 'DefaultCompression'
11+
| 'BestSpeed'
12+
| 'BestCompression'
13+
| 'ZstdBestSpeed'
14+
| 'ZstdDefaultCompression'
15+
| 'ZstdBestCompression'
16+
| 'NoCompression';
1017

1118
export interface Backup {
1219
creator: () => BackupCreator;

src/collections/journey.test.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ describe('Journey testing of the client using a WCD cluster', () => {
5757
.then(async (config) => {
5858
expect(config).toEqual<CollectionConfig>({
5959
name: collectionName,
60+
description: undefined,
6061
generative: {
6162
name: 'generative-cohere',
6263
config: {},
@@ -85,6 +86,8 @@ describe('Journey testing of the client using a WCD cluster', () => {
8586
{
8687
name: 'name',
8788
dataType: 'text',
89+
description: undefined,
90+
nestedProperties: undefined,
8891
indexFilterable: true,
8992
indexInverted: false,
9093
indexRangeFilters: false,
@@ -100,6 +103,8 @@ describe('Journey testing of the client using a WCD cluster', () => {
100103
{
101104
name: 'age',
102105
dataType: 'int',
106+
description: undefined,
107+
nestedProperties: undefined,
103108
indexFilterable: true,
104109
indexInverted: false,
105110
indexRangeFilters: false,
@@ -115,6 +120,8 @@ describe('Journey testing of the client using a WCD cluster', () => {
115120
{
116121
name: 'location',
117122
dataType: 'geoCoordinates',
123+
description: undefined,
124+
nestedProperties: undefined,
118125
indexFilterable: true,
119126
indexInverted: false,
120127
indexRangeFilters: false,
@@ -130,6 +137,8 @@ describe('Journey testing of the client using a WCD cluster', () => {
130137
{
131138
name: 'dateOfBirth',
132139
dataType: 'date',
140+
description: undefined,
141+
nestedProperties: undefined,
133142
indexFilterable: true,
134143
indexInverted: false,
135144
indexRangeFilters: false,
@@ -165,6 +174,7 @@ describe('Journey testing of the client using a WCD cluster', () => {
165174
},
166175
vectorizers: {
167176
default: {
177+
properties: undefined,
168178
vectorizer: {
169179
name: 'text2vec-cohere',
170180
config: {
@@ -182,7 +192,7 @@ describe('Journey testing of the client using a WCD cluster', () => {
182192
dynamicEfFactor: 8,
183193
ef: -1,
184194
efConstruction: 128,
185-
filterStrategy: 'sweeping',
195+
filterStrategy: 'acorn',
186196
flatSearchCutoff: 40000,
187197
maxConnections: (await client.getWeaviateVersion().then((ver) => ver.isLowerThan(1, 26, 0)))
188198
? 64

0 commit comments

Comments
 (0)