96 public static function index(array $ids = []): void
98 $toIndexIds = array_merge(static::$toIndexIds, $ids);
99 $toIndexIds = array_unique($toIndexIds);
100 if (empty($toIndexIds))
106 ->whereIn(
'ID', $toIndexIds)
110 $links->fillCalendarData();
112 foreach ($links as $link)
115 'ID' => $link->getId(),
116 'SEARCH_CONTENT' => static::generateSearchIndex($link),
119 static::multiplyInsertWithoutDuplicate($inserts);