mirror of
https://github.com/silverstripe/silverstripe-fulltextsearch
synced 2024-10-22 14:05:29 +02:00
19 lines
621 B
PHP
19 lines
621 B
PHP
<?php
|
|
|
|
namespace SilverStripe\FullTextSearch\Tests\SolrIndexVersionedTest;
|
|
|
|
use SilverStripe\FullTextSearch\Solr\SolrIndex;
|
|
use SilverStripe\FullTextSearch\Tests\SearchVariantVersionedTest\SearchVariantVersionedTest_Item;
|
|
use SilverStripe\FullTextSearch\Tests\SolrIndexVersionedTest\SolrIndexVersionedTest_Object;
|
|
|
|
class SolrVersionedTest_Index extends SolrIndex
|
|
{
|
|
public function init()
|
|
{
|
|
$this->addClass(SearchVariantVersionedTest_Item::class);
|
|
$this->addClass(SolrIndexVersionedTest_Object::class);
|
|
$this->addFilterField('TestText');
|
|
$this->addFulltextField('Content');
|
|
}
|
|
}
|