- Issue created by @sir_squall
- 🇨🇭Switzerland sir_squall
I did several test but always the same error, impossible to put in place the facet map, working with the lag/long of the indexed search resutls.
Any idea?
Hi,
I have a two content type, one is holidays camps, and the second is location, in the location I have the geolocation field, this is working well.
Then I have enable the facet map, the facet block, and the geolocation search api integration, and in my index I have added the field:
search_api_reverse_entity_references_node__field_location:field_coordinate and the type is lat/long
then I have created my facet referencing this field, and use the widget: Interactive map showing the clustered heatmap
and added the facet block to the right region, and I got this error:
The website encountered an unexpected error. Try again later.
TypeError: Drupal\search_api_page\Controller\SearchApiPageController::finishBuildWithoutResults(): Argument #2 ($result) must be of type Drupal\search_api\Query\ResultSetInterface, null given, called in /web/modules/contrib/search_api_page/src/Controller/SearchApiPageController.php on line 125 in Drupal\search_api_page\Controller\SearchApiPageController->finishBuildWithoutResults() (line 294 of modules/contrib/search_api_page/src/Controller/SearchApiPageController.php).
Do you know what I did wrong? I have this in the errors:
Query type search_api_rpt doesn't exist.
What is the rpt ?
Thanks for the help
Active
3.0
Code
I did several test but always the same error, impossible to put in place the facet map, working with the lag/long of the indexed search resutls.
Any idea?