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

17 lines
416 B
PHP

<?php
namespace SilverStripe\FullTextSearch\Tests\SolrVersionedTest;
use SilverStripe\FullTextSearch\Solr\SolrIndex;
class SolrVersionedTest_Index extends SolrIndex
{
public function init()
{
$this->addClass('SearchVariantVersionedTest_Item');
$this->addClass('SolrIndexVersionedTest_Object');
$this->addFilterField('TestText');
$this->addFulltextField('Content');
}
}