mirror of
https://github.com/silverstripe/silverstripe-fulltextsearch
synced 2024-10-22 14:05:29 +02:00
18 lines
505 B
PHP
18 lines
505 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('SilverStripe\FullTextSearch\Tests\SearchUpdaterTest\SearchUpdaterTest_Container');
|
||
|
|
||
|
$this->addFilterField('Field1');
|
||
|
$this->addFilterField('HasOneObject.Field1');
|
||
|
$this->addFilterField('HasManyObjects.Field1');
|
||
|
}
|
||
|
}
|