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
sync
True
(default): The client waits until the index is fully built before it returns. This means you will not get a response until the process is complete.False
: The client returns immediately after the request is received and the index is being built in the background. To find out if index creation has been completed, use the describe_index() method.