I am trying to implement a "Broad search" functionality, which should be used to search all fields in the DB.
The parameters of the query below is all "%horse%", and the my local DB executes this in about 15 sec.
When i use the parameter "%[^A-Za-z0-9]horse[^A-Za-z0-9]%", to make "horse" an independent word. The query takes 30 + seconds.
The db contains like 3000 objects. Can the query be optimized to run in respectable time? or should i consider something like full-text index?