refactoring search based on the profile

This commit is contained in:
Priec
2026-04-29 00:38:42 +02:00
parent 1867de513d
commit 5de1cd7623
8 changed files with 365 additions and 207 deletions

View File

@@ -7,14 +7,16 @@ service Searcher {
}
message SearchRequest {
string table_name = 1;
optional string table_name = 1;
string query = 2;
string profile_name = 3;
}
message SearchResponse {
message Hit {
int64 id = 1; // PostgreSQL row ID
float score = 2;
string content_json = 3;
string table_name = 4;
}
repeated Hit hits = 1;
}