Replacing elasticsearch with mongoid_search in Document