Full text search - Elasticsearch

#1

Hello
I try to set up Full text search with Elasticsearch.
I’m following this wiki : https://github.com/nextcloud/fulltextsearch/wiki/Basic-Installation
But when i try to run the first index :
$ sudo -u www-data php /var/www/cloud/occ fulltextsearch:index
I get :
indexing Files.
An unhandled exception has been thrown:
Error: Class ‘Elasticsearch\ClientBuilder’ not found in /var/www/cloud/apps/fulltextsearch_elasticsearch/lib/Platform/ElasticSearchPlatform.php:321
Stack trace:
#0 /var/www/cloud/apps/fulltextsearch_elasticsearch/lib/Platform/ElasticSearchPlatform.php(171): OCA\FullTextSearch_ElasticSearch\Platform\ElasticSearchPlatform->connectToElastic(‘http://localhos…’)
#1 /var/www/cloud/apps/fulltextsearch/lib/Service/PlatformService.php(166): OCA\FullTextSearch_ElasticSearch\Platform\ElasticSearchPlatform->loadPlatform()
#2 /var/www/cloud/apps/fulltextsearch/lib/Service/PlatformService.php(85): OCA\FullTextSearch\Service\PlatformService->loadPlatform()
#3 /var/www/cloud/apps/fulltextsearch/lib/Command/Index.php(137): OCA\FullTextSearch\Service\PlatformService->getPlatform()
#4 /var/www/cloud/apps/fulltextsearch/lib/Command/Index.php(119): OCA\FullTextSearch\Command\Index->indexProvider(Object(OCA\Files_FullTextSearch\Provider\FilesProvider))
#5 /var/www/cloud/3rdparty/symfony/console/Command/Command.php(264): OCA\FullTextSearch\Command\Index->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#6 /var/www/cloud/core/Command/Base.php(161): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#7 /var/www/cloud/3rdparty/symfony/console/Application.php(874): OC\Core\Command\Base->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /var/www/cloud/3rdparty/symfony/console/Application.php(228): Symfony\Component\Console\Application->doRunCommand(Object(OCA\FullTextSearch\Command\Index), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /var/www/cloud/3rdparty/symfony/console/Application.php(130): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/cloud/lib/private/Console/Application.php(173): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/cloud/console.php(90): OC\Console\Application->run()
#12 /var/www/cloud/occ(11): require_once(’/var/www/cloud/…’)
#13 {main}

I do not know how to solve it :confused:

Any help is welcome.

#2

Very similar here. Have you got any solution for this?
Regards
Juergen