hasMany search support