You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
147: Fix _geo point not being correctly parsed r=bidoubiwa a=bidoubiwa
fixes: #143
If a user provides a field named `_geo` with a `GeoPoint` type, the type will be transformed into a Meilisearch geopoint compatible format.
In firestore:
```
{
"_geo": { "latitude": x, "longitude": y }
}
```
In Meilisearch it becomes:
```
{
"_geo": { "lng": x, "lat": y }
}
```
Co-authored-by: Charlotte Vermandel <[email protected]>
Co-authored-by: oplik0 <[email protected]>
exports[`extensions config Test MeilisearchIndex parameters param exists 1`] =`
4
+
{
5
+
"description": "What Meilisearch index do you want to index your data in?",
6
+
"example": "example: my_index",
7
+
"label": "Meilisearch Index Name",
8
+
"param": "MEILISEARCH_INDEX_NAME",
9
+
"required": true,
10
+
"type": "string",
11
+
"validationErrorMessage": "Must be a valid Index format. Index uid can be of type integer or string only composed of alphanumeric characters, hyphens (-) and underscores (_). Check out our guide on [index creation](https://docs.meilisearch.com/learn/core_concepts/indexes.html#index-creation).",
12
+
"validationRegex": "^[0-9A-Za-z_-]+$",
13
+
}
14
+
`;
15
+
16
+
exports[`extensions config Test fieldsToIndex parameter param exists 1`] =`
17
+
{
18
+
"default": "",
19
+
"description": "What fields do you want to index in Meilisearch? Create a comma-separated list of the field names, or leave it blank to include all fields. The id field is always indexed even when omitted from the list.",
20
+
"example": "example: name,description,...",
21
+
"label": "Fields to index in Meilisearch",
22
+
"param": "MEILISEARCH_FIELDS_TO_INDEX",
23
+
"required": false,
24
+
"validationErrorMessage": "Fields must be given through a comma-separated list.",
`A GeoPoint was found with the field name '_geo' for compatibility with Meilisearch the field 'latitude' was renamed to 'lat' and the field 'longitude' to 'lng'`
0 commit comments