I have recently started playing around with thinking sphinx 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/product_search.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?
Thanks
Paul
--
You received this message because you are subscribed to the Google Groups
"Thinking Sphinx" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.