Skip to content

Commit fbed31f

Browse files
committed
Merge branch 'dev/1.26' of https://github.com/weaviate/typescript-client into dev/support-multi-vector-search
2 parents 9793d9c + 338ce5e commit fbed31f

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/openapi/schema.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -512,8 +512,8 @@ export interface definitions {
512512
indexFilterable?: boolean;
513513
/** @description Optional. Should this property be indexed in the inverted index. Defaults to true. Applicable only to properties of data type text and text[]. If you choose false, you will not be able to use this property in bm25 or hybrid search. This property has no affect on vectorization decisions done by modules */
514514
indexSearchable?: boolean;
515-
/** @description Optional. TODO roaring-set-range */
516-
indexRangeable?: boolean;
515+
/** @description Optional. Should this property be indexed in the inverted index. Defaults to false. Provides better performance for range queries compared to filterable index in large datasets. Applicable only to properties of data type int, number, date. */
516+
indexRangeFilters?: boolean;
517517
/**
518518
* @description Determines tokenization of the property as separate words or whole field. Optional. Applies to text and text[] data types. Allowed values are `word` (default; splits on any non-alphanumerical, lowercases), `lowercase` (splits on white spaces, lowercases), `whitespace` (splits on white spaces), `field` (trims). Not supported for remaining data types
519519
* @enum {string}
@@ -536,7 +536,7 @@ export interface definitions {
536536
name?: string;
537537
indexFilterable?: boolean;
538538
indexSearchable?: boolean;
539-
indexRangeable?: boolean;
539+
indexRangeFilters?: boolean;
540540
/** @enum {string} */
541541
tokenization?: 'word' | 'lowercase' | 'whitespace' | 'field';
542542
nestedProperties?: definitions['NestedProperty'][];
@@ -1289,10 +1289,10 @@ export interface definitions {
12891289
/** @description name of the tenant */
12901290
name?: string;
12911291
/**
1292-
* @description activity status of the tenant's shard. Optional for creating tenant (implicit `HOT`) and required for updating tenant. Allowed values are `HOT` - tenant is fully active, `COLD` - tenant is inactive; no actions can be performed on tenant, tenant's files are stored locally, `FROZEN` - as COLD, but files are stored on cloud storage
1292+
* @description activity status of the tenant's shard. Optional for creating tenant (implicit `HOT`) and required for updating tenant. For creation, allowed values are `HOT` - tenant is fully active and `COLD` - tenant is inactive; no actions can be performed on tenant, tenant's files are stored locally. For updating, `HOT`, `COLD` and also `FROZEN` - as COLD, but files are stored on cloud storage. The following values are read-only and are set by the server for internal use: `FREEZING` - tenant is transitioning from HOT/COLD to FROZEN, `UNFREEZING` - tenant is transitioning from FROZEN to HOT/COLD
12931293
* @enum {string}
12941294
*/
1295-
activityStatus?: 'HOT' | 'COLD' | 'FROZEN';
1295+
activityStatus?: 'HOT' | 'COLD' | 'FROZEN' | 'FREEZING' | 'UNFREEZING';
12961296
};
12971297
}
12981298

src/schema/journey.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ describe('schema', () => {
6969
name: 'anotherProp',
7070
tokenization: 'field',
7171
indexFilterable: true,
72-
indexRangeable: (await isVer(client, 26, 0)) ? false : undefined,
72+
indexRangeFilters: (await isVer(client, 26, 0)) ? false : undefined,
7373
indexSearchable: true,
7474
moduleConfig: {
7575
'text2vec-contextionary': {
@@ -539,7 +539,7 @@ describe('property setting defaults and migrations', () => {
539539

540540
const errMsg1 = isVer(client, 26, 0).then((yes) =>
541541
yes
542-
? '`indexInverted` is deprecated and can not be set together with `indexFilterable`, `indexSearchable` or `indexRangeable`'
542+
? '`indexInverted` is deprecated and can not be set together with `indexFilterable`, `indexSearchable` or `indexRangeFilters`'
543543
: '`indexInverted` is deprecated and can not be set together with `indexFilterable` or `indexSearchable`'
544544
);
545545
const errMsg2 = Promise.resolve('`indexSearchable`');
@@ -762,7 +762,7 @@ async function newClassObject(
762762
name: 'stringProp',
763763
tokenization: 'word',
764764
indexFilterable: true,
765-
indexRangeable: (await is1260Promise) ? false : undefined,
765+
indexRangeFilters: (await is1260Promise) ? false : undefined,
766766
indexSearchable: true,
767767
moduleConfig: {
768768
'text2vec-contextionary': {

0 commit comments

Comments
 (0)