zed/crates/semantic_index
Max Brunsfeld 8d0614ce74 Populate project search results multi-buffer from semantic search
Co-authored-by: Kyle <kyle@zed.dev>
2023-07-18 11:44:58 -07:00
..
src Populate project search results multi-buffer from semantic search 2023-07-18 11:44:58 -07:00
Cargo.toml Start work on exposing semantic search via project search view 2023-07-17 18:10:51 -07:00
README.md rename vector_store crate to semantic_index 2023-07-17 17:06:10 -04:00

WIP: Sample SQL Queries /*

create table "files" ( "id" INTEGER PRIMARY KEY, "path" VARCHAR, "sha1" VARCHAR, );

create table symbols ( "file_id" INTEGER REFERENCES("files", "id") ON CASCADE DELETE, "offset" INTEGER, "embedding" VECTOR, );

insert into "files" ("path", "sha1") values ("src/main.rs", "sha1") return id; insert into symbols ( "file_id", "start", "end", "embedding" ) values ( (id,), (id,), (id,), (id,), )

*/