mirror of
https://github.com/silverstripe/silverstripe-fulltextsearch
synced 2024-10-22 14:05:29 +02:00
24 lines
374 B
PHP
24 lines
374 B
PHP
|
<?php
|
||
|
|
||
|
namespace SilverStripe\FullTextSearch\Search;
|
||
|
|
||
|
use SilverStripe\FullTextSearch\Search\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()
|
||
|
{
|
||
|
}
|
||
|
}
|