Indexing and searching on multiple/duplicate fields

Lets say i have a Person object that can have multiple Addresses
associated with it (N-number, not a fixed number). How would i go about
indexing and searching on that? Is that possible?

such as index << { :first_name => “bob”, :address => “12 maple lane”,
:address => “45 main street”}

Any ideas would be appreciated. Thanks!

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs