Grooper Help - Version 25.0
25.0.0017 2,127
  • Overview
  • Help Status

Doc Index

Database Row Grooper.Core

Represents an index record for a Batch Folder and its associated Content Type within the batch management system.

Remarks

Overview

The DocIndex class maintains a mapping between each Batch Folder and its assigned Content Type.
This index is used to efficiently track, query, and manage the classification state of all folders in a batch, supporting operations such as classification, extraction, and validation.

Each record in the index links a specific Batch Folder (by 'NodeId') to a Content Type (by 'TypeId'), enabling fast lookups and updates as batch content is processed or reclassified.

Key Features

  • Efficient Indexing:
    Stores a record for every Batch Folder and its Content Type, enabling rapid queries and updates.
  • Database Integration:
    Provides methods to generate SQL statements for inserting and updating index records, supporting bulk operations and data integrity.
  • Rebuild and Repair:
    Includes static methods to rebuild the entire index from the current batch structure, and to repair or verify index integrity by removing orphaned records.
  • Integration with Batch Processing:
    Used by batch activities to maintain up-to-date classification and content type assignments throughout the batch lifecycle.

Usage Guidance

  • Use DocIndex to keep the classification state of Batch Folders synchronized with the database.
  • Call the Rebuild method after major changes to batch structure or content types to ensure the index is accurate.
  • Use the Repair and Verify methods to maintain data integrity, especially after manual database changes or migrations.
  • The index is automatically updated by batch processing activities, but can be managed programmatically for advanced scenarios.

Notification