Centralised Sofar file hub with advanced search

Sofar DISK

Every Sofar folder, datasheet, presentation, certification and training archive — in one searchable place. Replaces the cascade of corporate file shares (network drives, WeCom group attachments, scattered SharePoints) with a single index that engineers and sales actually find things in.

In build

What this module handles

  • Unified file tree — datasheets, presentations, certifications, training material, internal drafts. Folders mirror how teams already think (by product family, by region, by project).
  • Full-text search across PDFs and Office files — content-indexed, not just filename match. Type "PowerMagic V2 string sizing" and find the slide it lives on.
  • Versioning — every upload becomes a new version of the same logical file. The history is queryable; rollback is one click.
  • ACLs without folder copies — partner-NDA folders share the same source files as internal folders, controlled by access-list, not duplicate uploads.
  • External shares with expiry — share a folder or file with a customer / installer via a signed link; auto-expire after N days, revocable instantly.
  • Hot-key for engineers — TMS mobile + CSP case detail both embed a DISK search modal so a tech in the field finds the right datasheet without leaving the case.

Data model

FileNode
orgId, parentId? (tree), kind (FOLDER / FILE), name, ownerTeam, productFamily?, region?, tags string[], createdAt, archivedAt?
FileVersion
fileNodeId, version, mimeType, sizeBytes, checksum, storageKey, uploadedById, uploadedAt, supersededBy?
SearchIndex
fileVersionId, language, extractedText, ocrConfidence?, indexedAt, indexEngine (pg-fts / opensearch)
FileAcl
fileNodeId, principalKind (USER / TEAM / EXTERNAL_LINK), principalId, permission (VIEW / DOWNLOAD / EDIT), expiresAt?

API surface

GET /api/disk/treeGET /api/disk/search?q=&family=&region=POST /api/disk/uploadGET /api/disk/files/:idGET /api/disk/files/:id/versionsPOST /api/disk/files/:id/sharePOST /api/disk/files/:id/archive

Search behaviour

  • Content-first ranking — extracted text from PDF / DOCX / PPTX outweighs filename matches. OCR pass on scanned PDFs.
  • Faceted filters — product family, region, document kind, language. Engineers narrow down without typing more keywords.
  • Permission-aware — search results never leak titles or snippets the user can't open. Counts in the facets reflect what the user is allowed to see.
  • Recency boost — when two versions of the same datasheet exist, the active one ranks above superseded copies.

Integrates with

  • Sofar DOCS — generated PDFs land in the customer / project folder automatically.
  • Sofar Knowledge — knowledge articles can attach a DISK file (datasheet, manual) by reference, not by re-upload.
  • Sofar CSP — case detail embeds a DISK search box scoped to the case's product family.
  • Sofar TMS — engineer mobile pulls the relevant datasheet for a task in one tap.
  • Sofar Training — training modules link out to source material instead of bundling stale copies.
  • Landray OA — exports a contract folder + audit log on demand for corporate review.

Integrates with

Sofar DOCSSofar KnowledgeSofar CSPSofar TMSSofar TrainingLandray OA