Skip to content

opt(day 13): pgvector-kit - #1

Draft
Nephets1010 wants to merge 1 commit into
mainfrom
opt/day-013
Draft

Nephets1010 wants to merge 1 commit into
mainfrom
opt/day-013

Conversation

@Nephets1010

Copy link
Copy Markdown
Owner

从零撰写 README:一句话定位 + 真实输出样例 + 能力边界 + 5 分钟快速开始,对齐家族首屏结构

收益:3 秒看懂价值,支撑涨星目标

验收标准:README 含首屏四要素;示例命令可复现

本次改动只动 README.md(+219 / -16):

  • 首屏四要素:一句话定位(让业务表和向量表写进同一条 SQL、同一个事务)、真实输出样例(HybridQuery 生成的 SQL 与 IndexAdvisor 的建议 + DDL)、能力边界(能做 3 条 / 不能做 5 条)、5 分钟快速开始(引依赖 → 编译 core → 存单文件示例 → 运行看输出)。
  • 快速开始里的示例真跑过:按 README 第 2/3/4 步在干净环境执行,stdout 与 README「完整输出」代码块 1173 字节逐字节一致。
  • 补两处与源码抵触的旧表述:SqlIdentifier 白名单实为「字母或下划线开头,后续字母/数字/下划线/$」(SqlIdentifier.java:38);HybridQuery.Builder 除结构方法外另有 withIndex / distanceAlias / expectDimensions 三个辅助方法(HybridQuery.java:227/233/247)。

验证:全新无 .git 的 ASCII 副本 mvn -B -ntp -o clean verify BUILD SUCCESS,测试 273 + 18 + 19 + 27 + 20 = 357,4 处覆盖率门禁 All coverage checks have been met;本仓 spotless 已绑 validate 且覆盖根 *.md,verify 一并过。pgvector-core 仍零 org.springframework。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant