I run Pawtucket on the latest dev/php8 branch, and recently switched from SqlSearch2 to ElasticSearch as the search backend for my site...despite having a properly working ES index within providence, I immediately got the following fatal error in Pawtucket when trying to conduct a search:
Fatal error: Uncaught Error: Call to undefined method WLPlugSearchEngineElasticSearch::_resolveHitInformation() in /var/www/html/archive/app/lib/Search/SearchEngine.php:1340 Stack trace: #0 /var/www/html/archive/app/lib/Browse/BrowseEngine.php(8220): SearchEngine->resolveResultDescData() #1 /var/www/html/archive/app/controllers/SearchController.php(484): BrowseEngine->getResultDesc() #2 /var/www/html/archive/app/lib/Controller/RequestDispatcher.php(289): SearchController->__call() #3 /var/www/html/archive/app/lib/Controller/AppController.php(108): RequestDispatcher->dispatch() #4 /var/www/html/archive/index.php(133): AppController->dispatch() #5 {main} thrown in /var/www/html/archive/app/lib/Search/SearchEngine.php on line 1340
i'm not sure the purpose of _resolveHitInformation() but suspect it is only required for the SqlSearch2, as modifying the code to return an empty array results in a properly rendered page with search results as expected pulled from ElasticSearch.
I run Pawtucket on the latest dev/php8 branch, and recently switched from SqlSearch2 to ElasticSearch as the search backend for my site...despite having a properly working ES index within providence, I immediately got the following fatal error in Pawtucket when trying to conduct a search:
Fatal error: Uncaught Error: Call to undefined method WLPlugSearchEngineElasticSearch::_resolveHitInformation() in /var/www/html/archive/app/lib/Search/SearchEngine.php:1340 Stack trace: #0 /var/www/html/archive/app/lib/Browse/BrowseEngine.php(8220): SearchEngine->resolveResultDescData() #1 /var/www/html/archive/app/controllers/SearchController.php(484): BrowseEngine->getResultDesc() #2 /var/www/html/archive/app/lib/Controller/RequestDispatcher.php(289): SearchController->__call() #3 /var/www/html/archive/app/lib/Controller/AppController.php(108): RequestDispatcher->dispatch() #4 /var/www/html/archive/index.php(133): AppController->dispatch() #5 {main} thrown in /var/www/html/archive/app/lib/Search/SearchEngine.php on line 1340i'm not sure the purpose of _resolveHitInformation() but suspect it is only required for the SqlSearch2, as modifying the code to return an empty array results in a properly rendered page with search results as expected pulled from ElasticSearch.