Пример #1
0
<?php

return ['index' => ['path' => storage_path('app') . '/lucene-search/index', 'models' => []], 'analyzer' => ['filters' => [Nqxcode\Stemming\TokenFilterEnRu::class], 'stopwords' => Nqxcode\LuceneSearch\Analyzer\Stopwords\Files::get()]];
<?php

return ['index' => ['path' => storage_path('app') . '/lucene-search/index', 'models' => [\App\Models\User::class => ['fields' => ['username', 'email', 'last_activity', 'created_at', 'confirmed_at', 'confirm_token']], \App\Models\Role::class => ['fields' => ['role']], \App\Models\Action::class => ['fields' => ['uri', 'action']]]], 'analyzer' => ['filters' => ['Nqxcode\\Stemming\\TokenFilterEnRu'], 'stopwords' => Nqxcode\LuceneSearch\Analyzer\Stopwords\Files::get()]];