<?php

namespace Database\Seeders\Tenant;

use App\Facades\Settings;
use Illuminate\Database\Seeder;

class MeilisearchSettingSeeder extends Seeder
{
    public function run(): void
    {
        Settings::make([
            'tab' => 'Automotive',
            'section' => 'Filter',
            'group' => 'Search',
            'name' => 'Meilisearch',
            'config_key' => 'meilisearch-settings',
            'type' => 'component',
            'value' => 'SettingsMeilisearchSettings',
            'feature' => 'meilisearch-vehicle-filter',
            'description' => 'Configure Meilisearch search settings including typo tolerance, stop words, ranking rules, and searchable attributes',
        ]);
    }
}
