You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To make this gem work with the latest mongoid, I needed to use this branch: gem 'mongoid_search', git: 'git://github.com/sivagollapalli/mongoid_search.git', branch: 'mongoid_rc_support'
I think it's already in your pipeline to merge with your master.
The search works as expected however I am getting an issue with relevance value, it always comes as 1.0 for all results for whatever query I input.
Hello folks,
First of all thank you for your good work.
To make this gem work with the latest mongoid, I needed to use this branch:
gem 'mongoid_search', git: 'git://github.com/sivagollapalli/mongoid_search.git', branch: 'mongoid_rc_support'
I think it's already in your pipeline to merge with your master.
The search works as expected however I am getting an issue with relevance value, it always comes as 1.0 for all results for whatever query I input.
I am searching in 3 Strings fields:
search_in :name, :name_refined, :short_description
And using
full_text_search('keyword')
My config in config/initializers/mongoid.rb is as follows:
Any idea what might be causing my relevancy to always be 1.0 ?
Thanks
The text was updated successfully, but these errors were encountered: