pat / riddle

Ruby Client API for Sphinx
MIT License
135 stars 67 forks source link

Fix SphinxQL syntax error with empty array in filter #74

Closed bricker closed 10 years ago

bricker commented 10 years ago

Passing in an empty array to where or where_not was causing a trailing AND to make it into the SphinxQL statement.

See pat/thinking-sphinx#640 .

bricker commented 10 years ago

Sorry, didn't branch this one correctly. See #75