[object Object]

← back to Rentv 2026

RENTV: launchd job for unified search index rebuild (all builds, every 30min) — TK-10253

ddbcba2e9f15265ce0967e91f8d241da366f24ca · 2026-08-05 13:50:58 -0700 · Steve Abrams

com.steve.re-search-index — rebuilds data/search-index.jsonl from every RE build (rentv
articles + crcp + usre) on a 1800s interval, RunAtLoad, so the Unified RE Search stays
current as the corpus grows and each build's data updates. Source data is co-located on
Mac2 so the build runs here. Plist versioned in deploy/.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

Files touched

Diff

commit ddbcba2e9f15265ce0967e91f8d241da366f24ca
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Wed Aug 5 13:50:58 2026 -0700

    RENTV: launchd job for unified search index rebuild (all builds, every 30min) — TK-10253
    
    com.steve.re-search-index — rebuilds data/search-index.jsonl from every RE build (rentv
    articles + crcp + usre) on a 1800s interval, RunAtLoad, so the Unified RE Search stays
    current as the corpus grows and each build's data updates. Source data is co-located on
    Mac2 so the build runs here. Plist versioned in deploy/.
    
    Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---
 deploy/com.steve.re-search-index.plist | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/deploy/com.steve.re-search-index.plist b/deploy/com.steve.re-search-index.plist
new file mode 100644
index 00000000..089a7b46
--- /dev/null
+++ b/deploy/com.steve.re-search-index.plist
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+  <key>Label</key><string>com.steve.re-search-index</string>
+  <!-- Unified cross-build RE search index (TK-10253). Rebuilds data/search-index.jsonl from ALL
+       RE builds (RENTV articles + CRCP deals/REIT + usre commercial deals + HomesOnSpec slot) so the
+       backend Unified RE Search stays current as the corpus grows and each build's data updates.
+       Source data is co-located on Mac2, so the index build runs here. $0 local. -->
+  <key>ProgramArguments</key><array>
+    <string>/opt/homebrew/bin/node</string>
+    <string>/Users/macstudio3/Projects/rentv/scripts/build-search-index.mjs</string>
+  </array>
+  <key>WorkingDirectory</key><string>/Users/macstudio3/Projects/rentv</string>
+  <key>StartInterval</key><integer>1800</integer>
+  <key>RunAtLoad</key><true/>
+  <key>StandardOutPath</key><string>/Users/macstudio3/Projects/rentv/data/search-index.log</string>
+  <key>StandardErrorPath</key><string>/Users/macstudio3/Projects/rentv/data/search-index.log</string>
+</dict>
+</plist>

← f143ba69 RENTV: unified full-text search — /api/unified-search (admin  ·  back to Rentv 2026  ·  search-index: resolve psql by full path so launchd (minimal 97ad44f2 →