added search_sync param to model schema and enhanced search mapping to handle relations better
added asModels() to search
modified version file