HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers33/bbec.nl/app/config/packages/nqxcode/laravel-lucene-search/config.php
<?php

return [
    /*
     |--------------------------------------------------------------------------
     | The configurations of search index.
     |--------------------------------------------------------------------------
     |
     | The "path" is the path to Lucene search index.
     |
     | The "models" is the list of the descriptions for models. Each description
     | must contains class of model and fields available for search indexing.
     |
     | For example, model's description can be like this:
     |
     |      'namespace\ModelClass' => [
     |          'fields' => [
     |              'name', 'description', // Fields for indexing.
     |          ]
     |      ]
     |
     */
    'index' => [

        'path' => storage_path() . '/lucene-search/index',

        'models' => [
            'Komma\Faq\Models\FaqTranslation' =>[
                'fields' => ['name', 'description'],
                'boost' => true
            ],
            'Komma\Search\Models\SearchPages' =>[
                'fields' => [
                    'name',
                    'streamer',
                    'description'
                ],
            ],
//            'Komma\Pages\Models\PageTranslation' =>[
//                'fields' => ['name'],
//            ],
//            'Komma\Blocks\Models\BlockTranslation' =>[
//                'fields' => ['name'],
//            ],
//            'Komma\Posts\Models\PostTranslation' =>[
//                'fields' => ['name'],
//            ],
            'Komma\References\Models\Reference' =>[
                'fields' => ['name'],
            ],
            'Komma\References\Models\ReferenceTranslation' =>[
                'fields' => ['streamer'],
            ],
            'Komma\Calender\Models\CalenderTranslation' =>[
                'fields' => ['name'],
            ],

            // Add models descriptions here.
        ],
    ],

    /*
     |--------------------------------------------------------------------------
     | ZendSearch token filters.
     |--------------------------------------------------------------------------
     |
     | The "filters" is the list of ZendSearch token filters classes. Each class
     | must implement the TokenFilterInterface interface. Stemming token filter
     | for english and russian words is enabled by default. To disable it remove
     | class 'Nqxcode\Stemming\TokenFilterEnRu' from token filters.
     |
     | The "stopwords" is the list of paths to files with stopwords. By default
     | english and russian stopwords are used.
     |
    */
    'analyzer' => [

        'filters' => [
            'Nqxcode\Stemming\TokenFilterEnRu',
        ],

        'stopwords' => Komma\Search\Stopwords::get(),
    ],
];