silverstripe-fulltextsearch/tests/SolrIndexSubsitesTest/SolrIndexSubsitesTest_Index.php
2017-04-21 13:18:37 +12:00

16 lines
328 B
PHP

<?php
namespace SilverStripe\FullTextSearch\Tests\SolrIndexSubsitesTest;
use SilverStripe\FullTextSearch\Solr\SolrIndex;
class SolrIndexSubsitesTest_Index extends SolrIndex
{
public function init()
{
$this->addClass('File');
$this->addClass('SiteTree');
$this->addAllFulltextFields();
}
}