refactor(search): Phase 2A cand 슬러그·테이블 제거 (R13)

Phase 2A 임베딩 후보(me5_large_inst·snowflake_l_v2·qwen06·qwen4·qwen4m) no-go 종결
(2026-06-12, 후보 전부 -0.03~-0.04) + phase2a_cand_backfill 워커 dormant(미스케줄·미import).
- retrieval_service.CANDIDATE_BACKEND_MAP: 5 cand 엔트리 제거(baseline 만 잔존) — read-path
  슬러그를 먼저 빼야 embedding_backend=cand_X /search 가 dropped 테이블 읽어 500 안 남.
- api.search allowed 하드코딩 리스트 → ["baseline"] (R12 search-error-allowed dangling 동반 제거).
- phase2a_cand_backfill.py 삭제(dead code, 드롭될 테이블 참조 — R12 config-bypass 동반 해소).
- 마이그 360: cand 10테이블 DROP TABLE IF EXISTS(멱등, 환경별 존재차 흡수).

검증: py_compile 통과, 슬러그 잔존 참조 0. migration txn 제어문 없음.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
hyungi
2026-06-16 13:56:42 +09:00
parent 70f90bc914
commit d58565ef38
4 changed files with 19 additions and 179 deletions
@@ -0,0 +1,14 @@
-- 360: Phase 2A 임베딩 후보 cand 섀도 테이블 제거 (R13).
-- Phase 2A no-go 종결(2026-06-12, 후보 전부 -0.03~-0.04) + phase2a_cand_backfill 워커
-- dormant. retrieval_service.CANDIDATE_BACKEND_MAP / api.search allowed 슬러그 선제거 후 DROP.
-- IF EXISTS — me5/snowflake 는 ad-hoc 생성분이라 환경별 존재 여부 다를 수 있음(멱등).
DROP TABLE IF EXISTS document_chunks_cand_me5_large_inst;
DROP TABLE IF EXISTS documents_cand_me5_large_inst;
DROP TABLE IF EXISTS document_chunks_cand_snowflake_l_v2;
DROP TABLE IF EXISTS documents_cand_snowflake_l_v2;
DROP TABLE IF EXISTS document_chunks_cand_qwen06;
DROP TABLE IF EXISTS documents_cand_qwen06;
DROP TABLE IF EXISTS document_chunks_cand_qwen4;
DROP TABLE IF EXISTS documents_cand_qwen4;
DROP TABLE IF EXISTS document_chunks_cand_qwen4m;
DROP TABLE IF EXISTS documents_cand_qwen4m;