Skip to content

Commit 8e2d80f

Browse files
authored
Create lancedb index after materializing dataset (#1519)
1 parent 8be1e83 commit 8e2d80f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

nemo_retriever/src/nemo_retriever/examples/batch_pipeline.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -732,6 +732,9 @@ def main(
732732
.materialize()
733733
)
734734

735+
if hasattr(ingestor, "_create_lancedb_index"):
736+
ingestor._create_lancedb_index()
737+
735738
ingest_elapsed_s = time.perf_counter() - ingest_start
736739
rows_processed = _count_materialized_rows(ingest_results)
737740
logger.info(

0 commit comments

Comments
 (0)