limhiaoing
V2EX  ›  问与答

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

  •  
  •   limhiaoing · Nov 20, 2019 via iPhone · 1617 views
    This topic created in 2399 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   ·   5509 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 09:02 · PVG 17:02 · LAX 02:02 · JFK 05:02
    ♥ Do have faith in what you're doing.