-
Notifications
You must be signed in to change notification settings - Fork 18
Description
For _geoRadius to work, the current documentation and workings of Meilisearch requires Geopoint fields in firestore to be renamed as _geo. However, when it comes to the "lat" & "lng" field name formats. Firestore does not allow renaming of these fields. These fields are named "_latitude" & "_longitude" respectively by Firestore. I was unable to do a _geoRadius search on Meiliesearch.
Steps to reproduce the issue:
- Install Meilisearch on GCP - [long story short, it works]
- Create new index and add "_geo" to "filterableAttributes" settings - [Works]
- Install Meilisearch Firestore extension. [Search queries return correct results, including "_geo" fields but with "_latitude" & "_longitude". - [Works]
- Add test documents with _geo in Firestore. - [Works]
- Run empty q search without filter - [Works]
- Run empty q search with {"filter": "_geoRadius( , , )"} - [No results returned]
No results returned even if same value as the document are passed. I don't know if it's because Meilisearch is looking for "lat" & "lng" and can't find anything or something else. Either way, I could find any issues or documentation on this.
I also came across this issue. I'm not sure if anything has been rewritten but the documentation is not update in that case.