Work with Elasticsearch relationships
mainThe package supports built-in relationships, allowing you to eager load related models even when working with Elasticsearch data. This includes relationships between Elasticsearch models and standard SQL models.
// Eager loading a relationship (e.g., to a SQL model)
UserLog::where('status', 1)->orderByDesc('created_at')->with('user')->get();