diff scobot/index/build_index_flow.py @ 15:6ed25bcaaf1f

add prefect and rebuild flow to k8s
author drewp@bigasterisk.com
date Fri, 19 Jul 2024 00:30:47 -0700
parents b9c2b7fedbcd
children 7a87ba2f00d9
line wrap: on
line diff
--- a/scobot/index/build_index_flow.py	Thu Jul 11 22:11:41 2024 -0700
+++ b/scobot/index/build_index_flow.py	Fri Jul 19 00:30:47 2024 -0700
@@ -91,7 +91,7 @@
     log = get_run_logger()
     scobot.index.access.log = log
 
-    index = SearchIndex(Path('data/index'))
+    index = SearchIndex(Path('data/build/index0'))
     for url in meetingListUrls():
         mtgs = cast(list[MeetingRow], getCityMutableJson(url))
         log.info(f'got {len(mtgs)=}')