問題タブ [sphinxql]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
sphinx - Sphinx Search で空の before_match と after_match を使用する方法
Sphinx のSNIPPET()関数を使用して、クエリからbefore_match
andを削除するにはどうすればよいですか? after_match
一致するテキストの周りに何もラップしたくありません。
SNIPPET(field, 'word', 'after_match=""', 'before_match=""')
試してみましafter_match=""
たが、これにより文字どおりの引用符が一致に追加されます。
私は試しましafter_match=''"
たが、これは失敗します
私は試しましたがafter_match=
、これも失敗します
助言がありますか?