Skip to content

Commit 85fc9f5

Browse files
antas-marcinaliszka
authored andcommitted
Update Weaviate docker image
1 parent fcefc1a commit 85fc9f5

File tree

10 files changed

+16
-42
lines changed

10 files changed

+16
-42
lines changed

ci/docker-compose-azure-cc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ services:
1010
- --scheme
1111
- http
1212
- --write-timeout=600s
13-
image: semitechnologies/weaviate:1.18.2
13+
image: semitechnologies/weaviate:preview-group-by-arbitrary-prop-including-ref-return-top-k-per-group-77fe35f
1414
ports:
1515
- 8081:8081
1616
restart: on-failure:0

ci/docker-compose-okta-cc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ services:
1010
- --scheme
1111
- http
1212
- --write-timeout=600s
13-
image: semitechnologies/weaviate:1.18.2
13+
image: semitechnologies/weaviate:preview-group-by-arbitrary-prop-including-ref-return-top-k-per-group-77fe35f
1414
ports:
1515
- 8082:8082
1616
restart: on-failure:0

ci/docker-compose-okta-users.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ services:
1010
- --scheme
1111
- http
1212
- --write-timeout=600s
13-
image: semitechnologies/weaviate:1.18.2
13+
image: semitechnologies/weaviate:preview-group-by-arbitrary-prop-including-ref-return-top-k-per-group-77fe35f
1414
ports:
1515
- 8083:8083
1616
restart: on-failure:0

ci/docker-compose-openai.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ services:
99
- '8086'
1010
- --scheme
1111
- http
12-
image: semitechnologies/weaviate:1.18.2
12+
image: semitechnologies/weaviate:preview-group-by-arbitrary-prop-including-ref-return-top-k-per-group-77fe35f
1313
ports:
1414
- 8086:8086
1515
restart: on-failure:0

ci/docker-compose-wcs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ services:
1010
- --scheme
1111
- http
1212
- --write-timeout=600s
13-
image: semitechnologies/weaviate:1.18.2
13+
image: semitechnologies/weaviate:preview-group-by-arbitrary-prop-including-ref-return-top-k-per-group-77fe35f
1414
ports:
1515
- 8085:8085
1616
restart: on-failure:0

ci/docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
version: '3.4'
33
services:
44
weaviate:
5-
image: semitechnologies/weaviate:1.18.2
5+
image: semitechnologies/weaviate:preview-group-by-arbitrary-prop-including-ref-return-top-k-per-group-77fe35f
66
restart: on-failure:0
77
ports:
88
- "8080:8080"
@@ -17,7 +17,7 @@ services:
1717
CLUSTER_GOSSIP_BIND_PORT: "7100"
1818
CLUSTER_DATA_BIND_PORT: "7101"
1919
contextionary:
20-
image: semitechnologies/contextionary:en0.16.0-v1.2.0
20+
image: semitechnologies/contextionary:en0.16.0-v1.2.1
2121
ports:
2222
- "9999:9999"
2323
environment:

src/cluster/journey.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ const {
77
SOUP_CLASS_NAME,
88
} = require('../utils/testData');
99

10-
const EXPECTED_WEAVIATE_VERSION = '1.18.2';
11-
const EXPECTED_WEAVIATE_GIT_HASH = '723b88a';
10+
const EXPECTED_WEAVIATE_VERSION = '1.19.0-beta.1';
11+
const EXPECTED_WEAVIATE_GIT_HASH = '77fe35f';
1212

1313
describe('cluster nodes endpoint', () => {
1414
const client = weaviate.client({

src/data/journey.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ describe('data', () => {
4545
.do()
4646
.catch((e: Error) => {
4747
expect(e.message).toEqual(
48-
`usage error (422): {"error":[{"message":"invalid object: invalid string property 'stringProp' on class 'DataJourneyTestThing': not a string, but json.Number"}]}`
48+
`usage error (422): {"error":[{"message":"invalid object: invalid text property 'stringProp' on class 'DataJourneyTestThing': not a string, but json.Number"}]}`
4949
);
5050
});
5151
});

src/graphql/journey.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1365,7 +1365,7 @@ describe('query with group by', () => {
13651365
ofDocumentId: string;
13661366
}
13671367
const hits = 'hits{ofDocument{... on Document{_additional{id}}} _additional{id distance}}';
1368-
const group = `group{id groupValue count maxDistance minDistance ${hits}}`;
1368+
const group = `group{id groupedBy{value path} count maxDistance minDistance ${hits}}`;
13691369
const _additional = `_additional{${group}}`;
13701370
const expectedGroupHits1: GroupHit = {
13711371
passageIds: [

src/schema/journey.test.ts

Lines changed: 5 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ describe('schema', () => {
3333
it('extends the thing class with a new property', () => {
3434
const className = 'MyThingClass';
3535
const prop: Property = {
36-
dataType: ['string'],
36+
dataType: ['text'],
3737
name: 'anotherProp',
3838
tokenization: 'field',
3939
moduleConfig: {
@@ -54,32 +54,6 @@ describe('schema', () => {
5454
});
5555
});
5656

57-
it('fails to extend the thing class with property having not supported tokenization (1)', () => {
58-
const className = 'MyThingClass';
59-
const prop: Property = {
60-
dataType: ['text'],
61-
name: 'yetAnotherProp',
62-
tokenization: 'field',
63-
moduleConfig: {
64-
'text2vec-contextionary': {
65-
skip: false,
66-
vectorizePropertyName: false,
67-
},
68-
},
69-
};
70-
71-
return client.schema
72-
.propertyCreator()
73-
.withClassName(className)
74-
.withProperty(prop)
75-
.do()
76-
.catch((err: Error) => {
77-
expect(err.message).toEqual(
78-
'usage error (422): {"error":[{"message":"Tokenization \'field\' is not allowed for data type \'text\'"}]}'
79-
);
80-
});
81-
});
82-
8357
it('fails to extend the thing class with property having not supported tokenization (2)', () => {
8458
const className = 'MyThingClass';
8559
const prop: Property = {
@@ -101,7 +75,7 @@ describe('schema', () => {
10175
.do()
10276
.catch((err: Error) => {
10377
expect(err.message).toEqual(
104-
'usage error (422): {"error":[{"message":"Tokenization \'word\' is not allowed for data type \'int[]\'"}]}'
78+
'usage error (422): {"error":[{"message":"Tokenization is not allowed for data type \'int[]\'"}]}'
10579
);
10680
});
10781
});
@@ -117,7 +91,7 @@ describe('schema', () => {
11791
class: 'MyThingClass',
11892
properties: [
11993
{
120-
dataType: ['string'],
94+
dataType: ['text'],
12195
name: 'stringProp',
12296
tokenization: 'word',
12397
moduleConfig: {
@@ -128,7 +102,7 @@ describe('schema', () => {
128102
},
129103
},
130104
{
131-
dataType: ['string'],
105+
dataType: ['text'],
132106
name: 'anotherProp',
133107
tokenization: 'field',
134108
moduleConfig: {
@@ -403,7 +377,7 @@ function newClassObject(className: string) {
403377
class: className,
404378
properties: [
405379
{
406-
dataType: ['string'],
380+
dataType: ['text'],
407381
name: 'stringProp',
408382
tokenization: 'word',
409383
moduleConfig: {

0 commit comments

Comments
 (0)