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
Unfortunately, there's no way to do nested queries right now. You could prefix element of the hash in your search data method.
defsearch_datasearch_data=attributes.to_hash# assume settings is the hashsettings.eachdo |name,value|
search_data["settings_#{name}"]=valueendsearch_dataend
I have a model with hash field. I want to search all documents in the model where key1 => value1, key2 => value2 of the hash field
The text was updated successfully, but these errors were encountered: