1

SPHINX Match Phrases only, and SPHINX Automatic Indexing in PHP

view story
linux-howto

http://stackoverflow.com – I am building a full-text search engine that returns results for phrases. (a) I am trying to match phrases only using SPH_MATCH_PHRASE in SPHINX using PHP. The problem is that when I search for, e.g. "This is a phrase", it also produces relevant results for "This is a phrase" and "a phrase" and "This is a" and "This is" and "phrase" etc. Is there a way to limit results to ONLY the complete phrase? What I've tried: I searched S/O and found Sphinx: How do I set sphinx to do exact string match? which suggests placing the search query in quotes. I tried it but this returned zero search results w (HowTos)