Files
Phraseanet/lib/Alchemy/Phrasea/SearchEngine/Elastic/AST/Node.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

16 lines
328 B
PHP

<?php
namespace Alchemy\Phrasea\SearchEngine\Elastic\AST;
use Alchemy\Phrasea\SearchEngine\Elastic\Search\QueryContext;
abstract class Node
{
/**
* @return array The Elasticsearch formatted query
*/
abstract public function buildQuery(QueryContext $context);
abstract public function getTermNodes();
}