json in the otput of the tantivy

This commit is contained in:
filipriec
2025-06-11 14:07:22 +02:00
parent 495d77fda5
commit afd9228efa
7 changed files with 91 additions and 38 deletions

View File

@@ -10,11 +10,11 @@ message SearchRequest {
string table_name = 1;
string query = 2;
}
message SearchResponse {
message Hit {
int64 id = 1; // The PostgreSQL row ID
int64 id = 1; // PostgreSQL row ID
float score = 2;
string content_json = 3;
}
repeated Hit hits = 1;
}