Using Sphinx's SNIPPET() function, how can I remove any before_match
and after_match
from my query? I don't want anything wrapped around the matching text.
SNIPPET(field, 'word', 'after_match=""', 'before_match=""')
I've tried after_match=""
but this adds literal quotes to the match.
I've tried after_match=''"
but this fails
I've tried after_match=
and this fails too
Any suggestions?