I have an app that uses Geocoder to find Vendors within proximity of the User. I'm currently using ElasticSearch in another model, but I'd like to extend that to my Vendor model. The only thing is, I don't want users to search through all vendors, only those within x distance from them. Is something like this possible? I've looked through some of the elastic search documentation and haven't found anything yet. Here's my Vendor model and my devise User model:

```
class Vendor < ActiveRecord::Base

    geocoded_by :address
    after_validation :geocode,
        :if => lambda{ |obj| obj.address_changed? }
end

class User < ActiveRecord::Base

   devise :database_authenticatable, :registerable,
         :recoverable, :rememberable, :trackable, :validatable

   validates :zip, presence: true

   geocoded_by :zip

   after_validation :geocode

end

```

Any thoughts on this? Open to any suggestions as I'm unsure of how to accomplish this. Thanks in advance!