• 请不要在回答技术问题时复制粘贴 AI 生成的内容
cheny233
V2EX  ›  程序员

提问:如何提升搜索功能

  •  
  •   cheny233 · Apr 28, 2024 · 1890 views
    This topic created in 935 days ago, the information mentioned may be changed or developed.
    有个小的检索功能,需要在指定数据内进行名称模糊搜索,
    更新频率:天级别
    数据量:60w
    目前方案:通过离线任务定时将所有的检索数据缓存在 redis 中,key 是检索词,value 是匹配的数据 id ,再根据 id 进行查库。
    期望:就这一个小功能,所以不希望引入太复杂的技术。接口平响<150ms
    2 replies  •  2024-04-29 07:56:11 +08:00
    ashuai
    ashuai
    Apr 28, 2024
    1
    ZincSearch 了解一下
    cheny233
    cheny233
    OP
    Apr 29, 2024
    2
    @ashuai 好的 我去了解下
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1833 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 15:48 · PVG 23:48 · LAX 07:48 · JFK 10:48
    ♥ Do have faith in what you're doing.