diff --git a/source/includes/note-geospatial-index-must-exist.rst b/source/includes/note-geospatial-index-must-exist.rst index 34c66e95e4f..f36141f37aa 100644 --- a/source/includes/note-geospatial-index-must-exist.rst +++ b/source/includes/note-geospatial-index-must-exist.rst @@ -1,5 +1,5 @@ .. versionchanged:: 2.2.3 - Applications can use this operator *without* having a geospatial + Applications can use |operator| *without* having a geospatial index. However, geospatial indexes support much faster queries than the unindexed equivalents. Before 2.2.3, a geospatial index *must* exist on a field holding coordinates before using any of the diff --git a/source/reference/operator/box.txt b/source/reference/operator/box.txt index 139b8dd4903..687ea2ab892 100644 --- a/source/reference/operator/box.txt +++ b/source/reference/operator/box.txt @@ -40,4 +40,6 @@ $box [ [ 0 , 0 ] , [ 100 , 100 ] ] } } } ) + .. |operator| replace:: :operator:`$box` + .. include:: /includes/note-geospatial-index-must-exist.rst diff --git a/source/reference/operator/center.txt b/source/reference/operator/center.txt index 3bff027b746..2a40a00026c 100644 --- a/source/reference/operator/center.txt +++ b/source/reference/operator/center.txt @@ -44,4 +44,6 @@ $center { $center : [ [-74, 40.74], 10 ] } } } ) + .. |operator| replace:: :operator:`$center` + .. include:: /includes/note-geospatial-index-must-exist.rst diff --git a/source/reference/operator/centerSphere.txt b/source/reference/operator/centerSphere.txt index df63c152224..a875f5150c6 100644 --- a/source/reference/operator/centerSphere.txt +++ b/source/reference/operator/centerSphere.txt @@ -48,4 +48,6 @@ $centerSphere [ [ 88 , 30 ] , 10 / 3959 ] } } } ) + .. |operator| replace:: :operator:`$centerSphere` + .. include:: /includes/note-geospatial-index-must-exist.rst diff --git a/source/reference/operator/polygon.txt b/source/reference/operator/polygon.txt index f420277d518..8662973b445 100644 --- a/source/reference/operator/polygon.txt +++ b/source/reference/operator/polygon.txt @@ -44,4 +44,6 @@ $polygon [ 3 , 6 ] , [ 6 , 0 ] ] } } } ) + .. |operator| replace:: :operator:`$polygon` + .. include:: /includes/note-geospatial-index-must-exist.rst