feat: a REST endpoint to search a matter's documents
Adds GET /projects/:projectId/search - the same word-and-meaning search the assistant runs, reachable directly so a search box in the interface can call it without going through a conversation. It checks the caller may open the project, searches only that project's documents (so a matter you are not on never surfaces), and returns the best passages with their document, page, and how each was found (words, meaning, a fuzzy match, or the file's own name). This is the backbone for the search box; the box itself follows.
| Repository | wardethan2000-eng/mike |
|---|---|
| Author | Ethan Ward <ethanward321@hotmail.com> |
| Authored | |
| Parents | 1db72a9b |
| Stats | 1 file changed , +48 |
| Part of | Matter-wide document search and grounded answers |
Capture this commit into my fork
Download a Markdown prompt that tells Claude how to port this
exact commit into your working tree. Run it via
claude -p < capture-commit-2e388a71.md
from inside the repo you want the change in.