Search the text of files attached to pages
CI / go (Server) (push) Failing after 22m44s
CI / go (Media) (push) Canceled after 0s
CI / go (Web-App) (push) Canceled after 0s
CI / frontend (push) Failing after 10m17s
CI / desktop (ubuntu-latest) (push) Failing after 1h44m2s
CI / desktop (macos-latest) (push) Canceled after 0s
CI / desktop (windows-latest) (push) Canceled after 0s
CI / mobile (push) Failing after 5m11s
CI / docker (push) Successful in 1h29m50s
Docs / build (push) Successful in 14m34s
Docs / deploy (push) Skipped
CI / go (Server) (push) Failing after 22m44s
CI / go (Media) (push) Canceled after 0s
CI / go (Web-App) (push) Canceled after 0s
CI / frontend (push) Failing after 10m17s
CI / desktop (ubuntu-latest) (push) Failing after 1h44m2s
CI / desktop (macos-latest) (push) Canceled after 0s
CI / desktop (windows-latest) (push) Canceled after 0s
CI / mobile (push) Failing after 5m11s
CI / docker (push) Successful in 1h29m50s
Docs / build (push) Successful in 14m34s
Docs / deploy (push) Skipped
The search index now reads the files pages link to: PDF text layers, Word (.docx), HTML and text files such as Markdown or CSV, up to 25 MB, and their names. Each file is read once, a few seconds after upload, and its text is kept in the index; each linked file is indexed as its own document under its page, like database records, so a file taken off its page, or a trashed page, drops out. Scanned PDFs are not read. Hits carry a new file field (id and name). The web search palette and the phone's search show the file with an attachment icon and the page it is on; /docwell in Slack names the file too. PDF, Word and HTML reading moved from the AI package into internal/textract, which AI's extra files now use as well. The index mapping version is bumped, so existing indexes rebuild on start. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f1963f1391
commit
1696f2e77e
13 files changed
+675
-82
No files matched your search
@@ -5094,6 +5094,15 @@ components:
|
||||
database: { type: string }
|
||||
row: { type: string }
|
||||
title: { type: string }
|
||||
file:
|
||||
type: object
|
||||
description: >-
|
||||
Set when the match is in a file attached to the page (the text of PDFs, Word, HTML and text files is
|
||||
searchable); snippet is from the file
|
||||
required: [id, name]
|
||||
properties:
|
||||
id: { type: string, description: "The attachment (its address is /api/v1/files/<id>)" }
|
||||
name: { type: string }
|
||||
icon: { type: string }
|
||||
space: { type: string }
|
||||
spaceName: { type: string }
|
||||
|
||||
Reference in new issue
Block a user