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