Recued
Menu
← Back to recipes

Show what a search found

by recued-core v2 14 views

Use “Show what a search found” in Recued. List the documents one search run matched, with the page and the matching line, alongside the documents that could not be opened. Read-only.

Complete workflow

Document Search 4 pinned recipes

Use Document Search in Recued for PDF, retrieval, pdfgrep, and records. It includes 11 built-in actions and 3 ready-to-run workflows. Actions that change data use Recued's approval controls.

You are viewing one recipe in this workflow. Installing it opens the complete pack so its other recipes and background automations arrive together.

Use “Show what a search found” in Recued. List the documents one search run matched, with the page and the matching line, alongside the documents that could not be opened. Read-only.

pack:document-searchsearchboardrecords
by recued-core pinned v2

Use “Search your documents” in Recued. Search every PDF in a folder for a term and record which documents matched, with the page and the matching line. Each file is first checked as readable, so a document that could not be opened is reported as unreadable rather than counted as a miss.

pack:document-searchsearchpdfdocuments
by recued-core pinned v2

Use “Show past document searches” in Recued. List search runs with their counts, including how many documents could not be opened. Read-only — it re-reads no file and re-runs no search.

pack:document-searchsearchboardrecords
by recued-core pinned v2
View pack details, dependencies, and permissions →

Reading the hits

Outcome is matched or unreadable. Documents that were searched and genuinely did not contain the term are not listed — they are counted on the run, not recorded row by row, because a corpus is mostly misses and listing them would bury the answer.

Excerpt is exactly what pdfgrep printed: the page number, a colon, and the matching line. Only the line is stored — never the document.

unreadable rows are not misses. They are documents the search could not open, so nothing is known about them either way. If any are listed, the run's answer is incomplete until they are fixed or removed.

How it works 16 steps

Inspect the data fetches, transforms, gates, and output this recipe runs.

Process (16 steps)
search_id trim
Trim whitespace from setting search id
id_present compare
Check if search id has data
id_guard guard
Stop if id present equals
run ?
run_found compare
Check if run record id has data
run_guard guard
Stop if run found equals
search_ref template
Generate text from a template
hits ?
hit_rows default
Apply default
hit_rows_sorted sort
Sort by path
matched_rows filter
Filter by condition
unreadable_rows filter
Filter by condition
matched_count count
Count items in matched rows
unreadable_count count
Count items in unreadable rows
hits_table to_table
Format results as a data table
card to_summary
Format results as a summary card
Settings 2 configurable

Configurable at install. Defaults shown — change them anytime in Recued.

limit setting = 100
search id setting = [object Object]

About

Tags

pack:document-searchsearchboardrecordsv2

Details

16 steps 2 configurable settings recipe_id: show-search-hits