Search inside documents: PDF text, Tesseract OCR for scans (in the image), optional Claude; nightly catch-up

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
rickyandClaude Opus 5.5 committed 2026-11-11 21:09:12 -05:00
1 parent 2953b9a18d
commit 08ba017c7e
14 files changed
+271 -6

No files matched your search

@@ -0,0 +1,9 @@
class AddPagesTextToDocuments < ActiveRecord::Migration[8.1]
def change
# Text read from the document's pages, for search (derived, not a record).
add_column :documents, :pages_text, :text
add_column :documents, :pages_text_method, :string # text | ocr | claude | none
add_column :documents, :pages_text_source, :string # the page files it was read from
add_column :documents, :pages_text_at, :datetime
end
end