Algolia provider returning empty results.
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 30/100
Research direction
Start by reproducing the reported setup with PHP 7.3.8, Laravel 6, GeocoderLaravel ^4.2, and geocoder-php/algolia-places-provider^0.1.1, using the providers configuration in config/geocoder.php. Compare the AlgoliaPlaces result with the working Nominatim and GoogleMaps providers; done means the Algolia provider returns expected geocoding results or the incompatibility is clearly documented.
Written by the indexing model from the issue text.
Description
Asking on behalf of @tanthammar, who posted this issue here: https://github.com/geocoder-php/GeocoderLaravel/issues/163
General Information
GeocoderLaravel Version: ^4.2
Laravel Version: 6
PHP Version: 7.3.8
Operating System and Version: OSX 10.14.6
Issue Description
I do understand that this might not be the proper place to ask, but I was hoping that someone might have a solution. :)
Unable to get this to work with the Algolia geocoder provider
No errors, but always an empty collection returned.
(I have it working with the Nominatim and GoogleMaps)
Steps to Replicate
composer require geocoder-php/algolia-places-provider^0.1.1
in config/geocoder.php
'providers' => [
Chain::class => [
AlgoliaPlaces::class => [
'my-api-key',
'my-app-id'
],
Nominatim::class => [
'https://nominatim.openstreetmap.org',
'en'
],
GoogleMaps::class => [
env('GOOGLE_MAPS_LOCALE', 'en-US'),
env('GOOGLE_MAPS_API_KEY'),
],
GeoPlugin::class => [],
],
],
Stack Trace
[if an error is occuring, provide the complete stack trace here]
- Dominant language
- PHP
- Stars
- 4k
- Forks
- 525
- Avg merge
- 8m
- Merged PRs (30d)
- 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from geocoder-php/Geocoder
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
geocoder-php/Geocoder#1272 ·
-
question
Difficulty 4/5 3-5 days Newbie friendliness 25/100
geocoder-php/Geocoder#1267 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
geocoder-php/Geocoder#1266 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 38/100
geocoder-php/Geocoder#1244 · 2 comments · 2 reactions ·
-
provider
Difficulty 4/5 3-5 days Newbie friendliness 30/100
geocoder-php/Geocoder#1243 ·
All issues in geocoder-php/Geocoder
Similar issues
-
priority: p3
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
googleapis/librarian#7636 ·
-
0. Needs triage bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
nextcloud/fulltextsearch#1011 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
phpstan/phpstan-doctrine#794 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Automattic/static-site-importer#1767 ·