Skip to content

Commit e0107bf

Browse files
Add docstring
1 parent fa936ed commit e0107bf

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tim/cli.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -430,11 +430,10 @@ def reindex_source(
430430
431431
This CLI command performs the following:
432432
1. creates a new index for the source
433-
2. promotes this index as the primary for the source alias, and added to any other
433+
2. promotes this index as the primary for the source alias and add to any other
434434
aliases passed (e.g. 'timdex')
435-
3. uses the TDA library to yield only current records from the parquet dataset
436-
for the source
437-
4. bulk index these records to the new Opensearch index
435+
3. bulk index current records from the parquet dataset to the index
436+
4. bulk update current embeddings (if any) from the parquet dataset to the index
438437
439438
The net effect is a full refresh for a source in Opensearch, ensuring only current,
440439
non-deleted versions of records are used from the parquet dataset.

0 commit comments

Comments
 (0)