Elasticsearch basic usage with has_many model relationships

The docs for elasticsearch on github show me basic usage like @users =
User.search(@query).records but actually users has_many other models and
i
want my searches to match any fields from any of the child models, how
would i write such searces? ~ 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