1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-06-24 12:05:39 +08:00
2020-08-15 20:41:36 +08:00

26 lines
383 B
PHP

<?php
namespace App\Services\Search;
class CourseSearcher extends Searcher
{
public function __construct()
{
$this->xs = $this->getXS();
}
public function getXS()
{
$filename = config_path('xs.course.ini');
return new \XS($filename);
}
public function getHighlightFields()
{
return ['title', 'summary'];
}
}