Query sampling command to test grammar

This commit is contained in:
Mathieu Darse
2015-03-25 19:49:14 +01:00
parent 99e62f7530
commit 9a909ae1b0

View File

@@ -16,6 +16,7 @@ use Alchemy\Phrasea\Command\Plugin\ListPlugin;
use Alchemy\Phrasea\Command\Setup\H264ConfigurationDumper; use Alchemy\Phrasea\Command\Setup\H264ConfigurationDumper;
use Alchemy\Phrasea\Command\Setup\H264MappingGenerator; use Alchemy\Phrasea\Command\Setup\H264MappingGenerator;
use Alchemy\Phrasea\Command\SearchEngine\Debug\QueryParseCommand; use Alchemy\Phrasea\Command\SearchEngine\Debug\QueryParseCommand;
use Alchemy\Phrasea\Command\SearchEngine\Debug\QuerySampleCommand;
use Alchemy\Phrasea\Command\SearchEngine\IndexCreateCommand; use Alchemy\Phrasea\Command\SearchEngine\IndexCreateCommand;
use Alchemy\Phrasea\Command\SearchEngine\IndexDropCommand; use Alchemy\Phrasea\Command\SearchEngine\IndexDropCommand;
use Alchemy\Phrasea\Command\SearchEngine\MappingUpdateCommand; use Alchemy\Phrasea\Command\SearchEngine\MappingUpdateCommand;
@@ -129,6 +130,7 @@ if ($cli['search_engine.type'] === SearchEngineInterface::TYPE_ELASTICSEARCH) {
$cli->command(new MappingUpdateCommand()); $cli->command(new MappingUpdateCommand());
$cli->command(new IndexPopulateCommand()); $cli->command(new IndexPopulateCommand());
$cli->command(new QueryParseCommand()); $cli->command(new QueryParseCommand());
$cli->command(new QuerySampleCommand());
$cli->command(new FindConceptsCommand()); $cli->command(new FindConceptsCommand());
} }