drop_vector_search_index#
- langchain_mongodb.index.drop_vector_search_index(collection: Collection, index_name: str, *, wait_until_complete: float | None = None) None [source]#
Drop a created vector search index
- Parameters:
collection (Collection) – MongoDB Collection with index to be dropped
index_name (str) – Name of the MongoDB index
wait_until_complete (Optional[float]) – If provided, number of seconds to wait until search index is ready.
- Return type:
None