是否有任何方法通过在请求中指定的文档in列表来限制RediSearch结果?
例如,像FT.SEARCH cars fast @id:{100,200,300}这样的汽车只会返回ID为100、200或300的快车。
FT.SEARCH cars fast @id:{100,200,300}
发布于 2018-10-12 20:36:22
是的,有INKEYS关键字。
> FT.SEARCH cars "fast" INKEYS 3 100 200 300
请参阅https://oss.redislabs.com/redisearch/Commands/#ftsearch
https://stackoverflow.com/questions/52776416
相似问题