From 88202cbc81594dbda2a9d4947ce03ef6baef8776 Mon Sep 17 00:00:00 2001 From: cooper-lzy <78672629+cooper-lzy@users.noreply.github.com> Date: Tue, 1 Aug 2023 10:04:14 +0800 Subject: [PATCH] add geography in index (#2203) --- docs-2.0/3.ngql-guide/14.native-index-statements/README.md | 2 ++ docs-2.0/3.ngql-guide/3.data-types/10.geography.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docs-2.0/3.ngql-guide/14.native-index-statements/README.md b/docs-2.0/3.ngql-guide/14.native-index-statements/README.md index ad4ccdff961..457ad13bdb4 100644 --- a/docs-2.0/3.ngql-guide/14.native-index-statements/README.md +++ b/docs-2.0/3.ngql-guide/14.native-index-statements/README.md @@ -43,6 +43,8 @@ Native indexes allow querying data based on a given property. Features are as fo - [MATCH](../7.general-query-statements/2.match.md) +- [Geography index](../3.data-types/10.geography.md) + ## Full-text indexes Full-text indexes are used to do prefix, wildcard, regexp, and fuzzy search on a string property. Features are as follows. diff --git a/docs-2.0/3.ngql-guide/3.data-types/10.geography.md b/docs-2.0/3.ngql-guide/3.data-types/10.geography.md index 9f986380371..c7631b8ead8 100644 --- a/docs-2.0/3.ngql-guide/3.data-types/10.geography.md +++ b/docs-2.0/3.ngql-guide/3.data-types/10.geography.md @@ -93,3 +93,5 @@ When creating an index for geography properties, you can specify the parameters ```ngql nebula> CREATE TAG INDEX IF NOT EXISTS any_shape_geo_index ON any_shape(geo) with (s2_max_level=30, s2_max_cells=8); ``` + +For more index information, see [Index overview](../14.native-index-statements/README.md). \ No newline at end of file