Skip to content

Commit

Permalink
add geography in index (vesoft-inc#2203)
Browse files Browse the repository at this point in the history
  • Loading branch information
cooper-lzy authored Aug 1, 2023
1 parent 66a51cc commit 3d7e95a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs-2.0/3.ngql-guide/14.native-index-statements/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 2 additions & 0 deletions docs-2.0/3.ngql-guide/3.data-types/10.geography.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).

0 comments on commit 3d7e95a

Please sign in to comment.