IRPCIndexingDataSource.CacheFileForIndexingCollective

View as Markdown

Server integration API / specialized internal: not for applications write session

Like CacheFileForIndexing, for up to 20 file versions in one call, processed in parallel.

ServiceIndexing data source MFiles.IRPCIndexingDataSource
gRPC method/MFiles.IRPCIndexingDataSource/CacheFileForIndexingCollective
HTTP (mf-http-grpc)POST /grpc/v1/cache-file-for-indexing-collective
RequestCacheFileForIndexingCollectiveRequest
ResponseCacheFileForIndexingCollectiveResponse
Book and levelServer integration API, specialized
Kindwrite
SessionRequired: the session ID from LogIn in the mfiles-session-id-bin metadata.
Idempotentno
Returns metadata structure versionno
Streamingnone (unary)

Remarks

For M-Files components only. The M-Files indexing service, which runs on the server computer, calls it. Applications should not call it: the results are paths on the server's own disk.

Request: CacheFileForIndexingCollectiveRequest

A structure that specifies cache file for indexing request.

Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

FieldTypeDescription
indexing_elements[]repeated CacheFileForIndexingElementThe file versions to cache, with an optional subfolder each.
indexing_elements[].file_informationFileInfoForFIXFile info for indexing.
indexing_elements[].file_information.obj_file_verObjFileVerFile version.
indexing_elements[].file_information.is_destroyedboolTrue if the file has been destroyed and is no longer available. If true then only the objfilever member is valid.
indexing_elements[].file_information.data_file_versionint32Data file version if the file is an internal file.
indexing_elements[].file_information.sizeint64The logical size of the file in bytes.
indexing_elements[].file_information.extensionstringThe file extension, not including the dot (e.g. "doc"). This unencoded extension may contain characters that are not allowed in file extensions in file systems.
indexing_elements[].file_information.relevance_scorefloatRelevance score of the object.
indexing_elements[].file_information.file_ids[]repeated FileIDAll file IDs of the object's LCI version.
indexing_elements[].file_information.timestampLogicalTimestampLogical timestamp for indexing.
indexing_elements[].file_information.object_dataObjectVersionExWPIf not null contains the basic object version information. The search results are returned from the server using this information with external content repositories.
indexing_elements[].file_information.last_modified_for_indexinggoogle.protobuf.TimestampThe last modified timestamp for indexing.
indexing_elements[].file_information.repository_pathFolderArrayIf not null contains the array of folders describing the repository path to the object version location. The search results are returned from the server using this information with external content repositories.
indexing_elements[].file_formatFileFormatSpecifies the requested file format to cache.Values: FILE_FORMAT_NATIVE (0), FILE_FORMAT_PDF (1), FILE_FORMAT_DISPLAY_ONLY_PDF (2), FILE_FORMAT_PLAIN_TEXT (3), FILE_FORMAT_MARKDOWN (4).
indexing_elements[].sub_directorystringThe optional subdirectory under Filedata\Temp\FIX.
max_threadsuint32The maximum number of files to cache in parallel, at most 20.

Response: CacheFileForIndexingCollectiveResponse

A structure that specifies cache file for indexing response.

Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

FieldTypeDescription
indexing_elements[]repeated CacheFileForIndexingCollectiveResponseElementThe cache file for indexing array.
indexing_elements[].full_pathstringReceives the full path of the cached file. The caller owns the file.
indexing_elements[].file_formatFileFormatThe actual file format received.Values: FILE_FORMAT_NATIVE (0), FILE_FORMAT_PDF (1), FILE_FORMAT_DISPLAY_ONLY_PDF (2), FILE_FORMAT_PLAIN_TEXT (3), FILE_FORMAT_MARKDOWN (4).