开发者

sphinx query on NOT array

开发者 https://www.devze.com 2023-04-11 02:51 出处:网络
I can\'t find example for my task I have an array of strings and I need to make query to retrieve all rows that DON\'T contain every string from 开发者_如何学Cthe array

I can't find example for my task

I have an array of strings and I need to make query to retrieve all rows that DON'T contain every string from 开发者_如何学Cthe array

building string like this (!11 !22 !33) doesn't work (single NOT operator)

Thanks!


If you really do need to do that, need to include a term that will match every row.

eg you could arrange for 99 to be present on every single row.

(99 !11 !22 !33)
0

精彩评论

暂无评论...
验证码 换一张
取 消