@@ -284,20 +284,28 @@ categories:
284284- oss
285285- kubernetes
286286- clients
287- command_flags :
288- - readonly
289- complexity : O(N)
290- description : Performs hybrid search combining text search and vector similarity with configurable fusion methods
287+ complexity : O(N+M) where N is the complexity of the text search and M is the complexity
288+ of the vector search
289+ description : Performs hybrid search combining text search and vector similarity search
291290group : search
292291hidden : false
293292linkTitle : FT.HYBRID
294- module : Search
295293since : 8.4.0
296- stack_path : docs/interact/search-and-query
297- summary : Performs hybrid search combining text search and vector similarity with configurable fusion methods
298- syntax : " FT.HYBRID index \n SEARCH \" <search-expression>\" \n [SCORER algorithm params...] \n [YIELD_SCORE_AS <alias-search-score>] \n VSIM @vector_field \" <vector-data>\" \n [KNN <count> K <topk-k> [EF_RUNTIME <ef-value>] [YIELD_DISTANCE_AS <distance_field>]] \n [RANGE <count> RADIUS <radius-value> [EPSILON <epsilon-value>] [YIELD_DISTANCE_AS <distance_field>]] \n [FILTER \" <filter-expression>\" ] \n [POLICY [ADHOC|BATCHES|ACORN] [BATCH_SIZE <batch-size-value>]] \n [COMBINE method params...] \n [RRF <count> [WINDOW <value>] [CONSTANT <value>]] \n [LINEAR <count> [ALPHA <value>] [BETA <value>]] \n [YIELD_SCORE_AS <alias-combined-score>] \n [LOAD <count> field...] \n [GROUPBY <count> field... REDUCE function...] \n [APPLY expression AS field] \n [SORTBY field [ASC|DESC]] \n [FILTER <post-filter-expression>] \n [LIMIT offset num] \n [PARAMS <count> key value...] \n [EXPLAINSCORE] \n [TIMEOUT timeout] \n [WITHCURSOR [COUNT read_size] [MAXIDLE idle_time]]\n "
299- syntax_fmt : " FT.HYBRID index SEARCH \" <search-expression>\" [SCORER\_ algorithm\n params...] [YIELD_SCORE_AS\_ <alias-search-score>] VSIM @vector_field\n \" <vector-data>\" [KNN\_ <count> K\_ <topk-k> [EF_RUNTIME\_ <ef-value>]\n [YIELD_DISTANCE_AS\_ <distance_field>]] [RANGE\_ <count> RADIUS\_ <radius-value>\n [EPSILON\_ <epsilon-value>] [YIELD_DISTANCE_AS\_ <distance_field>]]\n [FILTER\_\" <filter-expression>\" ] [POLICY\_ [ADHOC|BATCHES|ACORN]\n [BATCH_SIZE\_ <batch-size-value>]] [COMBINE\_ method params...]\n [RRF\_ <count> [WINDOW\_ <value>] [CONSTANT\_ <value>]] [LINEAR\_ <count>\n [ALPHA\_ <value>] [BETA\_ <value>]] [YIELD_SCORE_AS\_ <alias-combined-score>]\n [LOAD\_ <count> field...] [GROUPBY\_ <count> field... REDUCE\_ function...]\n [APPLY\_ expression AS\_ field] [SORTBY\_ field [ASC|DESC]]\n [FILTER\_ <post-filter-expression>] [LIMIT\_ offset num] [PARAMS\_ <count>\n key value...] [EXPLAINSCORE] [TIMEOUT\_ timeout] [WITHCURSOR [COUNT\_ read_size]\n [MAXIDLE\_ idle_time]]"
300- syntax_str : " SEARCH \" <search-expression>\" [SCORER\_ algorithm params...] [YIELD_SCORE_AS\_ <alias-search-score>] VSIM @vector_field \" <vector-data>\" [KNN\_ <count> K\_ <topk-k> [EF_RUNTIME\_ <ef-value>] [YIELD_DISTANCE_AS\_ <distance_field>]] [RANGE\_ <count> RADIUS\_ <radius-value> [EPSILON\_ <epsilon-value>] [YIELD_DISTANCE_AS\_ <distance_field>]] [FILTER\_\" <filter-expression>\" ] [POLICY\_ [ADHOC|BATCHES|ACORN] [BATCH_SIZE\_ <batch-size-value>]] [COMBINE\_ method params...] [RRF\_ <count> [WINDOW\_ <value>] [CONSTANT\_ <value>]] [LINEAR\_ <count> [ALPHA\_ <value>] [BETA\_ <value>]] [YIELD_SCORE_AS\_ <alias-combined-score>] [LOAD\_ <count> field...] [GROUPBY\_ <count> field... REDUCE\_ function...] [APPLY\_ expression AS\_ field] [SORTBY\_ field [ASC|DESC]] [FILTER\_ <post-filter-expression>] [LIMIT\_ offset num] [PARAMS\_ <count> key value...] [EXPLAINSCORE] [TIMEOUT\_ timeout] [WITHCURSOR [COUNT\_ read_size] [MAXIDLE\_ idle_time]]"
294+ summary : Performs hybrid search combining text search and vector similarity search
295+ syntax_fmt : " FT.HYBRID index SEARCH query [SCORER\_ scorer]\n [YIELD_SCORE_AS\_ yield_score_as]\
296+ \ VSIM field vector [KNN count K\_ k\n [EF_RUNTIME\_ ef_runtime] [YIELD_SCORE_AS\_ \
297+ yield_score_as] | RANGE\n count RADIUS\_ radius [EPSILON\_ epsilon]\n [YIELD_SCORE_AS\_ \
298+ yield_score_as]] [FILTER\_ filter] [COMBINE <RRF\n count [CONSTANT\_ constant] [WINDOW\_ \
299+ window]\n [YIELD_SCORE_AS\_ yield_score_as] | LINEAR count [ALPHA\_ alpha\n BETA\_ \
300+ beta] [WINDOW\_ window] [YIELD_SCORE_AS\_ yield_score_as]>]\n [LIMIT offset num]\
301+ \ [SORTBY\_ sortby [ASC | DESC] | NOSORT] [PARAMS\n nargs name value [name value\
302+ \ ...]] [TIMEOUT\_ timeout]\n [FORMAT\_ format] [LOAD\_ count field [field ...]] [LOAD\
303+ \ *] [GROUPBY\n nproperties property [property ...] [REDUCE <COUNT |\n COUNT_DISTINCT\
304+ \ | COUNT_DISTINCTISH | SUM | MIN | MAX | AVG |\n STDDEV | QUANTILE | TOLIST |\
305+ \ FIRST_VALUE | RANDOM_SAMPLE> nargs\n arg [arg ...] [AS\_ name] [REDUCE <COUNT\
306+ \ | COUNT_DISTINCT |\n COUNT_DISTINCTISH | SUM | MIN | MAX | AVG | STDDEV | QUANTILE\
307+ \ |\n TOLIST | FIRST_VALUE | RANDOM_SAMPLE> nargs arg [arg ...]\n [AS\_ name] ...]]]\
308+ \ [APPLY\_ expression AS\_ name [APPLY\_ expression\n AS\_ name ...]] [FILTER\_ filter]"
301309title : FT.HYBRID
302310---
303311
0 commit comments