1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-07 13:22:56 +03:00

fix FT.SEARCH

This commit is contained in:
leibale
2021-11-30 21:34:37 -05:00
parent 70872d8839
commit cba0289ff7
3 changed files with 8 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
import { RedisCommandArguments } from '@node-redis/client/dist/lib/commands';
import { pushOptionalVerdictArgument, pushVerdictArgument, transformReplyTuples } from '@node-redis/client/dist/lib/commands/generic-transformers';
import { RedisSearchLanguages, PropertyName, pushSortByProperty, SortByOptions } from '.';
import { RedisSearchLanguages, PropertyName, pushSortByProperty, SortByProperty } from '.';
export const FIRST_KEY_INDEX = 1;
@@ -48,8 +48,8 @@ interface SearchOptions {
SCORER?: string;
// EXPLAINSCORE?: true; // TODO: WITHSCORES
// PAYLOAD?: ;
SORTBY?: SortByOptions;
// MSORTBY?: SortByOptions | Array<SortByOptions>;
SORTBY?: SortByProperty;
// MSORTBY?: SortByProperty | Array<SortByProperty>;
LIMIT?: {
from: number | string;
size: number | string;