mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-10 19:43:16 +00:00
24 lines
410 B
PHP
24 lines
410 B
PHP
<?php
|
|
|
|
namespace Alchemy\Phrasea\SearchEngine\Elastic\AST;
|
|
|
|
use Alchemy\Phrasea\SearchEngine\Elastic\Search\QueryContext;
|
|
|
|
class NullQueryNode extends Node
|
|
{
|
|
public function buildQuery(QueryContext $context)
|
|
{
|
|
return array('match_all' => array());
|
|
}
|
|
|
|
public function getTermNodes()
|
|
{
|
|
return [];
|
|
}
|
|
|
|
public function __toString()
|
|
{
|
|
return '<NULL>';
|
|
}
|
|
}
|