-
Notifications
You must be signed in to change notification settings - Fork 99
Open
Description
Querying a "%%%%" or "----"
$query = (new SphinxQL($cl))
->select('id')
->from(['dindex'])
->match('body', $this->search_query)
->limit(10);
generates an sql like this
SELECT id FROM dindex WHERE MATCH('(@body %%%%)')
SELECT id FROM dindex WHERE MATCH('(@body \\\\-\\\\-\\\\-\\\\-)')
Throws SQL Error
Error SQL (1064): index dindex: syntax error, unexpected ')' near ' %%%%)'
Is this ok?
Metadata
Metadata
Assignees
Labels
No labels