Skip to content

Commit 7e6eaf1

Browse files
authored
Merge pull request #49 from weaviate/add-group-by-argument
Add support for groupBy argument
2 parents 8828634 + 010f822 commit 7e6eaf1

16 files changed

+604
-80
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:1.19.0
1414
ports:
1515
- 8081:8081
1616
restart: on-failure:0

ci/docker-compose-cluster.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
version: '3.4'
33
services:
44
weaviate-node-1:
5-
image: semitechnologies/weaviate:preview-gql-handler-consistency-level-integration-4a12f55
5+
image: semitechnologies/weaviate:1.19.0
66
restart: on-failure:0
77
ports:
88
- "8087:8080"
@@ -25,7 +25,7 @@ services:
2525
- '8080'
2626
- --scheme
2727
- http
28-
image: semitechnologies/weaviate:preview-gql-handler-consistency-level-integration-4a12f55
28+
image: semitechnologies/weaviate:1.19.0
2929
ports:
3030
- 8088:8080
3131
- 6061:6060
@@ -38,7 +38,7 @@ services:
3838
PERSISTENCE_DATA_PATH: './weaviate-node-2'
3939
DEFAULT_VECTORIZER_MODULE: text2vec-contextionary
4040
ENABLE_MODULES: text2vec-contextionary
41-
CLUSTER_HOSTNAME: 'node2'
41+
CLUSTER_HOSTNAME: 'node2'
4242
CLUSTER_GOSSIP_BIND_PORT: '7112'
4343
CLUSTER_DATA_BIND_PORT: '7113'
4444
CLUSTER_JOIN: 'weaviate-node-1:7110'

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:1.19.0
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:1.19.0
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:1.19.0
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:1.19.0
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:1.19.0
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/batch/journey.test.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ describe('batch deleting', () => {
359359
.withClassName(thingClassName)
360360
.withWhere({
361361
operator: 'Equal',
362-
valueString: 'bar1',
362+
valueText: 'bar1',
363363
path: ['stringProp'],
364364
})
365365
.withDryRun(true)
@@ -373,7 +373,7 @@ describe('batch deleting', () => {
373373
where: {
374374
operands: null,
375375
operator: 'Equal',
376-
valueString: 'bar1',
376+
valueText: 'bar1',
377377
path: ['stringProp'],
378378
},
379379
});
@@ -397,7 +397,7 @@ describe('batch deleting', () => {
397397
.withClassName(otherThingClassName)
398398
.withWhere({
399399
operator: 'Like',
400-
valueString: 'foo3',
400+
valueText: 'foo3',
401401
path: ['stringProp'],
402402
})
403403
.withDryRun(true)
@@ -411,7 +411,7 @@ describe('batch deleting', () => {
411411
where: {
412412
operands: null,
413413
operator: 'Like',
414-
valueString: 'foo3',
414+
valueText: 'foo3',
415415
path: ['stringProp'],
416416
},
417417
});
@@ -430,7 +430,7 @@ describe('batch deleting', () => {
430430
.withClassName(otherThingClassName)
431431
.withWhere({
432432
operator: 'Equal',
433-
valueString: 'doesNotExist',
433+
valueText: 'doesNotExist',
434434
path: ['stringProp'],
435435
})
436436
.do()
@@ -442,7 +442,7 @@ describe('batch deleting', () => {
442442
where: {
443443
operands: null,
444444
operator: 'Equal',
445-
valueString: 'doesNotExist',
445+
valueText: 'doesNotExist',
446446
path: ['stringProp'],
447447
},
448448
});
@@ -462,7 +462,7 @@ describe('batch deleting', () => {
462462
.withClassName(otherThingClassName)
463463
.withWhere({
464464
operator: 'LessThan',
465-
valueString: inAMinute,
465+
valueText: inAMinute,
466466
path: ['_creationTimeUnix'],
467467
})
468468
.withOutput('verbose')
@@ -476,7 +476,7 @@ describe('batch deleting', () => {
476476
where: {
477477
operands: null,
478478
operator: 'LessThan',
479-
valueString: inAMinute,
479+
valueText: inAMinute,
480480
path: ['_creationTimeUnix'],
481481
},
482482
});

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';
11+
const EXPECTED_WEAVIATE_GIT_HASH = '48456a1';
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
});

0 commit comments

Comments
 (0)