Search with conditions using predicates such as 'name_cont' or 'created_at_gt' for elasticsearch models