Elasticsearch return empty result page

Hello

I follow step by step this guide:


Install elasticsearch on my ubuntu server,java, setting memory limit and suitecrm enabled elasticserach+run shoudelr indexer.

Also I checked index in console
curl ‘localhost:9200/_cat/indices?v&pretty’
health status index uuid pri rep docs.count docs.deleted store.size pri.store.size
yellow open main z5BCluBkTPaNat3cWaUQHQ 5 1 219225 8 211.3mb 211.3mb

Sure I make sucefull test connection
But finally, my search query gets an empty result page. Please see screenshot

If I try “broken” search like “32ewdsare321321” than I get an error that there is no such record, which is true

in suitecrm log I have

Wed Aug 5 12:04:15 2020 [343947][1][FATAL] [ERROR] [SearchThrowableHandler] No results matching your search criteria. Try broadening your search.
Wed Aug 5 12:04:15 2020 [343947][1][FATAL] [ERROR] [SearchThrowableHandler] Error: Object of class Link2 could not be converted to string in /var/www/suitecrm/lib/Search/SearchResults.php:213
Stack trace:
#0 /var/www/suitecrm/lib/Search/SearchResults.php(171): SuiteCRM\Search\SearchResults->getLink()
#1 /var/www/suitecrm/lib/Search/SearchResults.php(154): SuiteCRM\Search\SearchResults->updateObjLinks()
#2 /var/www/suitecrm/lib/Search/SearchResults.php(136): SuiteCRM\Search\SearchResults->updateFieldDefLinks()
#3 /var/www/suitecrm/lib/Search/UI/SearchResultsController.php(122): SuiteCRM\Search\SearchResults->getHitsAsBeans()
#4 /var/www/suitecrm/lib/Search/SearchEngine.php(65): SuiteCRM\Search\UI\SearchResultsController->display()
#5 /var/www/suitecrm/lib/Search/SearchEngine.php(41): SuiteCRM\Search\SearchEngine->displayResults()
#6 /var/www/suitecrm/lib/Search/SearchWrapper.php(77): SuiteCRM\Search\SearchEngine->searchAndDisplay()
#7 /var/www/suitecrm/modules/Home/Search.php(50): SuiteCRM\Search\SearchWrapper::searchAndDisplay()
#8 /var/www/suitecrm/include/MVC/View/SugarView.php(834): include_once(’/var/www/suitec…’)
#9 /var/www/suitecrm/include/MVC/View/views/view.classic.php(72): SugarView->includeClassicFile()
#10 /var/www/suitecrm/include/MVC/View/SugarView.php(226): ViewClassic->display()
#11 /var/www/suitecrm/include/MVC/Controller/SugarController.php(435): SugarView->process()
#12 /var/www/suitecrm/include/MVC/Controller/SugarController.php(375): SugarController->processView()
#13 /var/www/suitecrm/include/MVC/SugarApplication.php(113): SugarController->execute()
#14 /var/www/suitecrm/index.php(54): SugarApplication->execute()
#15 {main}

Suitecrm 7.11.15

Hey there,

I’ve had a look around, and I found a similar sounding issue on our Github Issue tracker:


The user “crmwolf” has provided a Possible Fix in that issue.




There is also a Pull Request from the user “tsitle”:
https://github.com/salesagility/SuiteCRM/pull/8513

It may be worth having a try at that possible fix, hopefully it helps resolve your issue?

Otherwise, its worth adding your experience to that github issue, to add more information/visibility to the item