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.
对 TAG 字段的 ft.search 'OR' 查询的搜索词数量是否有限制?
示例:ft.search my_index "@my_field:{item1 | item2 ...}"
我能走多远?我可以有数以万计的搜索词进行查询吗?
唯一的限制是 redis 命令中的字节数,即 IIRC,512MB。请注意,它会带来性能损失,在 OR 查询中包含数万个搜索词将显着影响性能(除非每个词中的结果数量非常少......)