File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
pymongo_vectorsearch_utils Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ def create_vector_search_index(
99
99
wait_until_complete : float | None = None ,
100
100
** kwargs : Any ,
101
101
) -> None :
102
- """Experimental Utility function to create a vector search index
102
+ """Create a vector search index on the specified field.
103
103
104
104
Args:
105
105
collection (Collection): MongoDB Collection
@@ -192,7 +192,7 @@ def drop_vector_search_index(
192
192
* ,
193
193
wait_until_complete : float | None = None ,
194
194
) -> None :
195
- """Drop a created vector search index.
195
+ """Drop an existing vector search index.
196
196
197
197
Args:
198
198
collection (Collection): MongoDB Collection with index to be dropped.
@@ -219,7 +219,7 @@ def create_fulltext_search_index(
219
219
wait_until_complete : float | None = None ,
220
220
** kwargs : Any ,
221
221
) -> None :
222
- """Experimental Utility function to create an Atlas Search index
222
+ """Create a fulltext search index on the specified field(s).
223
223
224
224
Args:
225
225
collection (Collection): MongoDB Collection
@@ -262,8 +262,7 @@ def wait_for_docs_in_index(
262
262
embedding_field : str ,
263
263
n_docs : int ,
264
264
) -> bool :
265
- """Inserts texts using the provided insert_func and then waits for texts
266
- to be indexed before returning.
265
+ """Wait until the given number of documents are indexed by the given index.
267
266
268
267
Args:
269
268
collection (Collection): A MongoDB Collection.
You can’t perform that action at this time.
0 commit comments