File tree 1 file changed +5
-5
lines changed
packages/search/lib/commands
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -190,8 +190,8 @@ export enum SchemaFieldTypes {
190
190
}
191
191
192
192
export interface MissingValues {
193
- INDEXEMPTY ?: true ;
194
- INDEXMISSING ?: true ;
193
+ INDEXEMPTY ?: boolean ;
194
+ INDEXMISSING ?: boolean ;
195
195
}
196
196
197
197
function pushMissingValues ( args : RedisCommandArguments , missingValues ?: MissingValues ) {
@@ -214,7 +214,7 @@ type CreateSchemaField<
214
214
> = T | ( {
215
215
type : T ;
216
216
AS ?: string ;
217
- INDEXMISSING ?: true ;
217
+ INDEXMISSING ?: boolean ;
218
218
} & E ) ;
219
219
220
220
type CreateSchemaCommonField <
@@ -240,7 +240,7 @@ type CreateSchemaTextField = CreateSchemaCommonField<SchemaFieldTypes.TEXT, {
240
240
WEIGHT ?: number ;
241
241
PHONETIC ?: SchemaTextFieldPhonetics ;
242
242
WITHSUFFIXTRIE ?: boolean ;
243
- INDEXEMPTY ?: true ;
243
+ INDEXEMPTY ?: boolean ;
244
244
} > ;
245
245
246
246
type CreateSchemaNumericField = CreateSchemaCommonField < SchemaFieldTypes . NUMERIC > ;
@@ -251,7 +251,7 @@ type CreateSchemaTagField = CreateSchemaCommonField<SchemaFieldTypes.TAG, {
251
251
SEPARATOR ?: string ;
252
252
CASESENSITIVE ?: true ;
253
253
WITHSUFFIXTRIE ?: boolean ;
254
- INDEXEMPTY ?: true ;
254
+ INDEXEMPTY ?: boolean ;
255
255
} > ;
256
256
257
257
export enum VectorAlgorithms {
You can’t perform that action at this time.
0 commit comments