Skip to content

Commit b8cd58a

Browse files
committed
Deprecate single value index creation methods
1 parent e1a1a0e commit b8cd58a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

doc/client.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -895,6 +895,8 @@ Index Operations
895895
:param dict policy: optional :ref:`aerospike_info_policies`.
896896
:raises: a subclass of :exc:`~aerospike.exception.AerospikeError`.
897897

898+
.. deprecated:: 14.0.0 :meth:`index_single_value_create` should be used instead.
899+
898900
.. method:: index_integer_create(ns, set, bin, name[, policy])
899901

900902
Create an integer index with *name* on the *bin* in the specified \
@@ -907,6 +909,8 @@ Index Operations
907909
:param dict policy: optional :ref:`aerospike_info_policies`.
908910
:raises: a subclass of :exc:`~aerospike.exception.AerospikeError`.
909911

912+
.. deprecated:: 14.0.0 :meth:`index_single_value_create` should be used instead.
913+
910914
.. method:: index_list_create(ns, set, bin, index_datatype, name[, policy: dict])
911915

912916
Create an index named *name* for numeric, string or GeoJSON values \
@@ -993,6 +997,7 @@ Index Operations
993997
client.index_geo2dsphere_create('test', 'pads', 'loc', 'pads_loc_geo')
994998
client.close()
995999
1000+
.. deprecated:: 14.0.0 :meth:`index_single_value_create` should be used instead.
9961001

9971002
.. method:: index_remove(ns: str, name: str[, policy: dict])
9981003

0 commit comments

Comments
 (0)