V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
limhiaoing
V2EX  ›  问与答

sqlite fts4 的 match 不支持多个短语 AND 匹配吗?

  •  
  •   limhiaoing · Nov 20, 2019 via iPhone · 1483 views
    This topic created in 2351 days ago, the information mentioned may be changed or developed.
    比如 virtual table tb 的 title 存在“hello world”。
    使用
    select * from tb where title match ‘“hello” and “world”’;
    匹配不到。但是用 OR 替换 AND。就可以匹配到。单独匹配 hello 或 world 也没问题。
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   933 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 21:05 · PVG 05:05 · LAX 14:05 · JFK 17:05
    ♥ Do have faith in what you're doing.