mirror of
https://github.com/silverstripe/silverstripe-fulltextsearch
synced 2024-10-22 14:05:29 +02:00
18 lines
458 B
PHP
18 lines
458 B
PHP
<?php
|
|
|
|
namespace SilverStripe\FullTextSearch\Tests\SearchUpdaterTest;
|
|
|
|
use SilverStripe\FullTextSearch\Search\Indexes\SearchIndex_Recording;
|
|
|
|
class SearchUpdaterTest_Index extends SearchIndex_Recording
|
|
{
|
|
public function init()
|
|
{
|
|
$this->addClass(SearchUpdaterTest_Container::class);
|
|
|
|
$this->addFilterField('Field1');
|
|
$this->addFilterField('HasOneObject.Field1');
|
|
$this->addFilterField('HasManyObjects.Field1');
|
|
}
|
|
}
|