I have recently started playing around with the thinking sphinx gem and have been having great success with running searches, however I have noticed that for some reason, certain searches aren't returning the correct records.
config/thinking_sphinx.yml
development:
mysql41: 3313
morphology: stem_en
indicies/product_index.rb
indexes :title
lib/tasks/my_rake_task.rake
term = "Garmin Edge 500 GPS Enabled Computer"
@product = Product.search Riddle::Query.escape(term), ranker: :none
The rake task should match the title in the database of 'Garmin Edge 500 GPS Cycle Computer' however for some reason it returns an empty array. When I remove the term 'Enabled' it returns the record.
I was just wondering if there is a simple way to improve the accuracy of a search?