when I search for the second word the result mismatch for example 'web ' the result
["WEB MEDIA ","CREATIV WEB ","WEB SERVICES TECHNOLOGIES","iDURAR WEB AGENCY","WEB CREATION","DEV WEB SOLUTION","BIG WEB DZ","AMANA SITE WEB"]
but for 'web m' the result
["VOISINAGE PC","DELTA SOFT","MMCOMPUTING ETS","MICROPROZ","PORTIDEE","LATICODE","CYBER WEB SERVICES","SIEGE SOCIAL","EL DALIL YALAOUI ET CIE - SIEGE COMMERCIAL""IMA"]
iI try all examples in the internet
ruby
@suggestions = Form.search(params[:term]).map{ |x| x[:name]}
SELECT * FROM form_core WHERE MATCH('web m') AND sphinx_deleted = 0 LIMIT 0, 20
Sphinx Found 23 results
namethe only field you have? Or does your Form index have other fields involved? Also: which versions of Sphinx and Thinking Sphinx are you using? - patruby ThinkingSphinx.search('^' + params[:term] + '*', options)- ramzieus