silverstripe-fulltextsearch/tests/SolrReindexTest/SolrReindexTest_Index.php

16 lines
351 B
PHP
Raw Permalink Normal View History

<?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::class);
$this->addAllFulltextFields();
}
}