docs: add SEARCH_INDEX_V1.md (closes #169)#175
Merged
rdhyee merged 1 commit intoisamplesorg:mainfrom May 8, 2026
Merged
Conversation
The v1 search-substrate contract — sample-centric document projection with concept.label as a v1 minimum, BM25 ranking with precomputed DF + doc_len, hash-by-token partitioning with a 5 MB shard cap, query-time stopword policy distinct from build-time tokenizer, hard quality gate, and a build_stats.json artifact requirement that prevents the contract from drifting from the builder. Companion to EXPLORER_STATE.md (UI-surface contract, option C). Backend changes are intentionally orthogonal to the UI contract; this doc pins one half, the other doc pins the other. Refs isamplesorg#165, isamplesorg#170, isamplesorg#171, isamplesorg#172, isamplesorg#174. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Contributor
Author
|
Review result: no blocking issues found. The SEARCH_INDEX_V1 contract has a coherent v1/v1.5/v2 split, separates build-time tokenization from query-time stopword policy, and includes the build_stats requirement needed to keep implementation honest. |
This was referenced May 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The v1 search-substrate contract for the Explorer FTS work. Doc-only PR; closes #169.
Companion to `EXPLORER_STATE.md` (PR #166): that doc pins the UI-surface contract (option C — side-panel + result-pin overlay); this doc pins the backend contract. The two are intentionally orthogonal.
Test plan
Closes #169. Refs #165, #166, #170, #171, #172, #174.
🤖 Generated with Claude Code