Files
Phraseanet/lib/Alchemy/Phrasea/SearchEngine/Elastic/AST/NullQueryNode.php
Mathieu Darse fe7e63b3d7 QuotedTextNode don't inherit anymore from TextNode
- Quoted text do not hit the thesaurus anymore
- getTextNodes() was misleading, renamed to getTermNodes()
2015-02-25 12:22:52 +01:00

24 lines
415 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 array();
}
public function __toString()
{
return '<NULL>';
}
}