mirror of
https://github.com/silverstripe/silverstripe-fulltextsearch
synced 2024-10-22 14:05:29 +02:00
24 lines
390 B
PHP
24 lines
390 B
PHP
<?php
|
|
|
|
namespace SilverStripe\FullTextSearch\Search\Indexes;
|
|
|
|
use SilverStripe\FullTextSearch\Search\Indexes\SearchIndex;
|
|
|
|
/**
|
|
* A search index that does nothing. Useful for testing
|
|
*/
|
|
abstract class SearchIndex_Null extends SearchIndex
|
|
{
|
|
public function add($object)
|
|
{
|
|
}
|
|
|
|
public function delete($base, $id, $state)
|
|
{
|
|
}
|
|
|
|
public function commit()
|
|
{
|
|
}
|
|
}
|