Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Geosearch — Accept null for the _geo field #222

Merged
merged 1 commit into from
Apr 3, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion text/0059-geo-search.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ According to our user feedback, the lack of a geosearch feature is mentioned as

#### **As a developer, I want to add geospatial coordinates to a document so that the document can be geosearchable.**

- Introduce a reserved field `_geo` for documents to store geo spatial data from an **object** made of `lat` and `lng` fields for a **JSON format**.
- Introduce a reserved field `_geo` for documents to store geo spatial data from an **object** made of `lat` and `lng` fields for a **JSON format**. If the `_geo` field is set to `null`, my document won't be geosearchable.
- Introduce a reserved column `_geo` for documents to store geo spatial data from a **string** made of `lat,lng` for a **CSV format**.

##### **JSON Format**
Expand Down