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

16 lines
346 B
PHP

<?php
namespace SilverStripe\FullTextSearch\Tests\SolrReindexTest;
use SilverStripe\Dev\TestOnly;
use SilverStripe\FullTextSearch\Solr\SolrIndex;
class SolrReindexTest_Index extends SolrIndex implements TestOnly
{
public function init()
{
$this->addClass('SolrReindexTest_Item');
$this->addAllFulltextFields();
}
}