Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法通过请求中指定的文档 ID 列表来限制 RediSearch 结果?
例如,FT.SEARCH cars fast @id:{100,200,300}仅返回 ID 为 100、200 或 300 的快速汽车。
FT.SEARCH cars fast @id:{100,200,300}
是的,有 INKEYS 关键字。
> FT.SEARCH cars "fast" INKEYS 3 100 200 300
见https://oss.redislabs.com/redisearch/Commands/#ftsearch