diff --git a/site/en/userGuide/manage-indexes/index-vector-fields.md b/site/en/userGuide/manage-indexes/index-vector-fields.md index df4b4782b..388dcb682 100644 --- a/site/en/userGuide/manage-indexes/index-vector-fields.md +++ b/site/en/userGuide/manage-indexes/index-vector-fields.md @@ -248,7 +248,8 @@ index_params.add_index( # 4.3. Create an index file client.create_index( collection_name="customized_setup", - index_params=index_params + index_params=index_params, + sync=False # Whether to wait for index creation to complete before returning. Defaults to True. ) ``` @@ -335,6 +336,10 @@ console.log(res.error_code) index_params An IndexParams object containing a list of IndexParam objects. + + sync + Controls how the index is built in relation to the client’s request. Valid values:
+