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
Aassuming you have addition filter criteria before full_text_search.
Then you get a query that combines the first term into the your previous criteria $and a global requirement for any further keywords. So this will need different indexes when using either a single term vs many terms search.
While this case should actually be Mymodel.some_criteria.where(:_keywords.all => Mongoid::Search::Util.normalize_keywords(term))
The text was updated successfully, but these errors were encountered:
Aassuming you have addition filter criteria before full_text_search.
Then you get a query that combines the first term into the your previous criteria $and a global requirement for any further keywords. So this will need different indexes when using either a single term vs many terms search.
While this case should actually be
Mymodel.some_criteria.where(:_keywords.all => Mongoid::Search::Util.normalize_keywords(term))
The text was updated successfully, but these errors were encountered: