IRPCIndexingDataSource.GetNextObjectsForIX

View as Markdown

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

Gets next objects and their data for indexing.

ServiceIndexing data source MFiles.IRPCIndexingDataSource
gRPC method/MFiles.IRPCIndexingDataSource/GetNextObjectsForIX
HTTP (mf-http-grpc)POST /grpc/v1/get-next-objects-for-ix
RequestGetNextObjectsForIXRequest
ResponseGetNextObjectsForIXResponse
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. Search indexers call it to fetch the next batch for a combined index. Applications should not call it.

Request: GetNextObjectsForIXRequest

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

FieldTypeDescription
indexing_requestIndexingRequestGeneral information about the request.
indexing_request.options_obsoleteuint32Control flags for the request.
indexing_request.optionsINDEXINGREQUESTFLAGSControl flags for the request.
indexing_request.options.allboolSpecifies all flags set; Including any future flags.
indexing_request.options.accept_modificationsboolThe indexer accepts new and modified objects in the request.
indexing_request.options.accept_destructionsboolThe indexer accepts destructions of objects in the request.
indexing_request.options.accept_acl_modificationsboolThe indexer accepts ACL modifications of objects in the request.
indexing_request.index_nameIndexNameIdentifies the index.
indexing_request.index_name.configuration_namestringThe name of the index configuration.
indexing_request.index_name.repository_connectionstringIdentifies the external repository connection.
indexing_request.index_name.configuration_typeIndexConfigurationTypeThe index configuration type (e.g., Shared versus Legacy).Values: INDEX_CONFIGURATION_TYPE_UNKNOWN (0), INDEX_CONFIGURATION_TYPE_LEGACY (1), INDEX_CONFIGURATION_TYPE_SHARED (2), INDEX_CONFIGURATION_TYPE_ANY (3).
indexing_request.auxiliary_indexer_idstringIf not null, identifies auxiliary indexer that consumes the data.
indexing_request.partitionIndexerPartitionIf set, specifies how to partition the candidate objects for this caller.
indexing_request.partition.ruleIndexerPartitioningRuleSpecifies how the indexing is partitioned.
indexing_request.partition.iduint32Zero-based identifier of the partition.
indexing_request.last_indexed_timestampLogicalTimestampThe last indexed logical timestamp. Ignored if its type is LOGICAL_TIMESTAMP_TYPE_IGNORED.
indexing_request.last_indexed_timestamp.typeLogicalTimestampTypeLogical timestamp type.Values: LOGICAL_TIMESTAMP_TYPE_UNINITIALIZED (0), LOGICAL_TIMESTAMP_TYPE_IGNORED (1), LOGICAL_TIMESTAMP_TYPE_INTEGER (2), LOGICAL_TIMESTAMP_TYPE_STRING (3), LOGICAL_TIMESTAMP_TYPE_INTEGER_AND_STRING (4).
indexing_request.last_indexed_timestamp.dataLogicalTimestampUnionThe data as a union.
indexing_request.last_change_tracking_timestampLogicalTimestampChange Tracking version from last indexed logical timestamp.
indexing_request.last_change_tracking_timestamp.typeLogicalTimestampTypeLogical timestamp type.Values: LOGICAL_TIMESTAMP_TYPE_UNINITIALIZED (0), LOGICAL_TIMESTAMP_TYPE_IGNORED (1), LOGICAL_TIMESTAMP_TYPE_INTEGER (2), LOGICAL_TIMESTAMP_TYPE_STRING (3), LOGICAL_TIMESTAMP_TYPE_INTEGER_AND_STRING (4).
indexing_request.last_change_tracking_timestamp.dataLogicalTimestampUnionThe data as a union.
indexing_request.indexer_locationIndexerLocationDefines if indexer making the request is of type internal (legacy) or external.Values: INDEXER_LOCATION_UNINITIALIZED (0), INDEXER_LOCATION_LEGACY (1), INDEXER_LOCATION_EXTERNAL (2).
last_for_ixObjIDLast indexed object ID. If unset, ignored.
last_for_ix.typeint32The object type ID, for example 0 for documents. In a lookup value, the value list ID (for a lookup to objects, the object type ID).
last_for_ix.item_idItemIDThe ID of the object within its type, in item_id.internal_id.
last_for_ix.item_id.internal_idint32The ID of the object or value list item.
last_for_ix.item_id.external_repository_idExternalRepositoryIDUsed only for objects in external repositories (external connectors). Leave it unset for objects stored in the vault.
countuint32The number of objects requested.

Response: GetNextObjectsForIXResponse

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

FieldTypeDescription
data[]repeated ObjectDataForIXThe data of the object versions for indexing.
data[].primary_obj_idObjIDThe primary identity of the object. Also valid when the object has been destroyed.
data[].primary_obj_id.typeint32The object type ID, for example 0 for documents. In a lookup value, the value list ID (for a lookup to objects, the object type ID).
data[].primary_obj_id.item_idItemIDThe ID of the object within its type, in item_id.internal_id.
data[].is_destroyedboolTrue if the object has been destroyed and is no longer available. If true then only the objidPrimary and oim members are valid.
data[].is_skippedboolTrue if the object has been skipped and cannot be indexed. If true then only the objidPrimary and oim members are valid.
data[].object_versionObjectVersionExWPContains the basic object version information, always latest checked-in version.
data[].object_version.object_versionObjectVersionExObject info.
data[].object_version.properties[]repeated PropertyValueProperty values, or an empty array.
data[].object_version.aclAccessControlListIf set, ACL.
data[].object_version.current_user_permissionsObjectPermissionsForClientIf set, permissions of the object version.
data[].version_commentPropertyValueThe version comment history of the object excluding checkedout version.
data[].version_comment.property_defint32The property definition ID, for example 0 for "Name or title" or 100 for "Class".
data[].version_comment.valueTypedValueThe value. Its type must match the data type of the property definition.
data[].updated_files[]repeated FileIDIdentifies the files that have been updated.
data[].updated_files[].typeFileIDTypeFILE_IDTYPE_SPECIFIC for one file.Values: FILE_IDTYPE_UNINITIALIZED (0), FILE_IDTYPE_ALL (1), FILE_IDTYPE_ANY (2), FILE_IDTYPE_SPECIFIC (3).
data[].updated_files[].internal_idint32The file ID.
data[].updated_files[].external_repository_idstringUsed only for files in external repositories. Leave empty.
data[].alias_obj_ids[]repeated ObjIDAdditional ID aliases for the object such as the external object ID, if any, in some other system/repository/vault.
data[].alias_obj_ids[].typeint32The object type ID, for example 0 for documents. In a lookup value, the value list ID (for a lookup to objects, the object type ID).
data[].alias_obj_ids[].item_idItemIDThe ID of the object within its type, in item_id.internal_id.
data[].index_metadataObjectIndexMetadataMetadata information for storing the object in the index.
data[].index_metadata.relative_relevance_scorefloatRelevance score of the object.
data[].index_metadata.last_modified_for_indexing_utcgoogle.protobuf.TimestampThe last modified timestamp for indexing.
data[].index_metadata.version_for_ixLogicalTimestampLogical timestamp for indexing.
data[].repository_pathFolderArrayIf not null contains the array of folders describing the repository path to the object version location.
data[].repository_path.value[]repeated FolderArray of Folder structures.
data[].all_editors_historyPropertyValueAggregated DISTINCT user IDs (VALUELIST_USERS) from PROPERTYDEF_LASTMODIFIEDBY and PROPERTYDEF_VERSION_EDITORS across every checked-in version, represented as MSLOOKUP from VALUELIST_USERS. Empty when the feature flag is off or for external-repository objects.
data[].all_editors_history.property_defint32The property definition ID, for example 0 for "Name or title" or 100 for "Class".
data[].all_editors_history.valueTypedValueThe value. Its type must match the data type of the property definition.
data[].acl_for_indexingSimpleACLPre-resolved read-permission projection of this object version's ACL: one entry per component (index 0 is the custom component, the rest are automatic components in stable order), each reduced to concrete allowed/denied actor IDs with additive components merged in, deleted components removed, and pseudo-users resolved. unset if not supplied by this server; set with zero entries if supplied and the ACL resolved to no components. On the checked-out version, the checked-out-to user has already been injected into every component's allowed array; the latest-checked-in version's projection never carries that injection.
data[].acl_for_indexing.value[]repeated SimpleACLComponentComponents.
last_seen_obj_idObjIDLast seen object ID.
last_seen_obj_id.typeint32The object type ID, for example 0 for documents. In a lookup value, the value list ID (for a lookup to objects, the object type ID).
last_seen_obj_id.item_idItemIDThe ID of the object within its type, in item_id.internal_id.
last_seen_obj_id.item_id.internal_idint32The ID of the object or value list item.
last_seen_obj_id.item_id.external_repository_idExternalRepositoryIDUsed only for objects in external repositories (external connectors). Leave it unset for objects stored in the vault.
last_seen_version_for_ixLogicalTimestampLast seen logical timestamp within the returned objects or the timestamp after trying to fetch the batch even if no objects were returned (relevant for indexing external repositories).
last_seen_version_for_ix.typeLogicalTimestampTypeLogical timestamp type.Values: LOGICAL_TIMESTAMP_TYPE_UNINITIALIZED (0), LOGICAL_TIMESTAMP_TYPE_IGNORED (1), LOGICAL_TIMESTAMP_TYPE_INTEGER (2), LOGICAL_TIMESTAMP_TYPE_STRING (3), LOGICAL_TIMESTAMP_TYPE_INTEGER_AND_STRING (4).
last_seen_version_for_ix.dataLogicalTimestampUnionThe data as a union.
last_seen_version_for_ix.data.integerLogicalTimestampInteger (oneof data)Logical timestamp as an int64 vector.
last_seen_version_for_ix.data.stringLogicalTimestampString (oneof data)String.
last_seen_version_for_ix.data.integer_and_stringLogicalTimestampIntegerAndString (oneof data)Integer and string.
peidaIndexerDataAvailabilityFlags that tell which kinds of indexer data are available.Values: INDEXER_DATA_AVAILABILITY_UNKNOWN (0), INDEXER_DATA_AVAILABILITY_AVAILABLE (1), INDEXER_DATA_AVAILABILITY_EXHAUSTED (2), INDEXER_DATA_AVAILABILITY_ABORTED (3).