Search Index, gRPC: SearchIndexFileService.Get
Written by
Updated at November 26, 2024
Retrieves details of a specific file that has been indexed within a search index.
gRPC request
rpc Get (GetSearchIndexFileRequest) returns (SearchIndexFile)
GetSearchIndexFileRequest
{
"file_id": "string",
"search_index_id": "string"
}
Request message for retrieving a file from a search index.
Field |
Description |
file_id |
string Required field. ID of the file to retrieve. |
search_index_id |
string Required field. ID of the search index that contains the file. |
SearchIndexFile
{
"id": "string",
"search_index_id": "string",
"created_by": "string",
"created_at": "google.protobuf.Timestamp"
}
Represents a file that has been indexed within a search index.
Field |
Description |
id |
string Unique identifier of the file that was used for indexing. |
search_index_id |
string ID of the search index that contains this file. |
created_by |
string Identifier of the subject who created the file in the search index. |
created_at |
Timestamp representing when the file was created. |