refactoring search based on the profile
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user