[{"data":1,"prerenderedAt":890,"buildId":891},["ShallowReactive",2],{"\u002Flibrary\u002Fsearch":3,"\u002Flibrary\u002Fsearch-surround":607,"navigation":618},{"id":4,"title":5,"body":6,"description":599,"extension":600,"meta":601,"navigation":602,"path":603,"seo":604,"stem":605,"__hash__":606},"docs\u002F2.library\u002F7.search.md","Search",{"type":7,"value":8,"toc":588},"minimark",[9,18,57,78,157,160,175,178,183,189,197,428,458,493,498,501,505,511,515,531,535,538,542,545,584],[10,11,12,13,17],"p",{},"The search box in ",[14,15,16],"strong",{},"Files"," looks at everything stored about a file:",[19,20,21,29,34,46],"ul",{},[22,23,24,25,28],"li",{},"its ",[14,26,27],{},"name",",",[22,30,24,31,28],{},[14,32,33],{},"tags",[22,35,24,36,39,40,45],{},[14,37,38],{},"fields"," (text, long text, choice and list fields; see ",[41,42,44],"a",{"href":43},"\u002Flibrary\u002Ffields#include-in-search","Include in search","),",[22,47,24,48,51,52,56],{},[14,49,50],{},"text and Markdown attachments",", such as ",[41,53,55],{"href":54},"\u002Focr","OCR"," text.",[10,58,59,60,64,65,69,70,73,74,77],{},"A file matches when every word you typed starts a word somewhere on the file. The words don't have to be in the same place: a file tagged ",[61,62,63],"em",{},"docker"," with an attachment saying \"connection refused\" matches ",[66,67,68],"code",{},"docker connection refused",". A file's name also matches when it contains what you typed anywhere in it (",[66,71,72],{},"ceipt"," finds ",[66,75,76],{},"receipt.png",").",[79,80,81,94],"table",{},[82,83,84],"thead",{},[85,86,87,91],"tr",{},[88,89,90],"th",{},"You type",[88,92,93],{},"Finds files",[95,96,97,116,126,144],"tbody",{},[85,98,99,105],{},[100,101,102],"td",{},[66,103,104],{},"plumb invoice",[100,106,107,108,111,112,115],{},"with words starting ",[61,109,110],{},"plumb"," and ",[61,113,114],{},"invoice",", anywhere on the file",[85,117,118,123],{},[100,119,120],{},[66,121,122],{},"\"connection refused\"",[100,124,125],{},"where that exact phrase appears in one place: the name, one tag, one field or one attachment",[85,127,128,133],{},[100,129,130],{},[66,131,132],{},"receipt -paid",[100,134,135,136,139,140,143],{},"with a word starting ",[61,137,138],{},"receipt"," and no word starting ",[61,141,142],{},"paid"," anywhere",[85,145,146,151],{},[100,147,148],{},[66,149,150],{},"-draft",[100,152,153,154],{},"in the current scope without a word starting ",[61,155,156],{},"draft",[10,158,159],{},"Each file is listed once, however many places it matches. Searching or clearing the search in a folder stays in that folder.",[10,161,162,163,166,167,170,171,174],{},"Under each result, a line shows why it matched, with your words highlighted: ",[61,164,165],{},"Alt text: A tabby cat asleep",", ",[61,168,169],{},"Tagged receipts",", or an attachment's name and a line from it. Text a workflow stored shows the icon of the step that made it, such as the scan icon for text read by ",[14,172,173],{},"Extract text",".",[10,176,177],{},"Word matching ignores case and accents. Up to 8 words and phrases are used, and other punctuation is ignored, so symbols are safe to type.",[179,180,182],"h2",{"id":181},"filters","Filters",[10,184,185,186,188],{},"Filters narrow a search to files with a tag, of a type, in a folder, or with a field value. Choose ",[14,187,182],{}," next to the search box to build them: pick what to filter, a condition and a value. Each filter also appears in the search box as text, and under it as a chip you can select to edit or remove. Typing a filter in the search box does the same thing as building it.",[190,191],"screenshot",{"alt":192,"caption":193,"height":194,"name":195,"width":196},"Files searched for cat with a Tag filter and a Rating filter, shown as chips under the search box and as rows in the open Filters panel","Filters in the search box, as chips and in the Filters panel are one query.",900,"search-filters",1216,[79,198,199,207],{},[82,200,201],{},[85,202,203,205],{},[88,204,90],{},[88,206,93],{},[95,208,209,222,232,242,254,268,300,310,320,337,349,366,392,405,415],{},[85,210,211,216],{},[100,212,213],{},[66,214,215],{},"tag:receipts",[100,217,218,219],{},"tagged ",[61,220,221],{},"receipts",[85,223,224,229],{},[100,225,226],{},[66,227,228],{},"tag:receipts,invoices",[100,230,231],{},"tagged with either",[85,233,234,239],{},[100,235,236],{},[66,237,238],{},"tag:receipts tag:2026",[100,240,241],{},"tagged with both",[85,243,244,249],{},[100,245,246],{},[66,247,248],{},"-tag:draft",[100,250,251,252],{},"not tagged ",[61,253,156],{},[85,255,256,265],{},[100,257,258,261,262],{},[66,259,260],{},"tag:"," \u002F ",[66,263,264],{},"-tag:",[100,266,267],{},"with any tag \u002F with no tags",[85,269,270,275],{},[100,271,272],{},[66,273,274],{},"type:image",[100,276,277,278,166,281,166,284,166,287,166,290,166,293,296,297],{},"of that type: ",[66,279,280],{},"image",[66,282,283],{},"video",[66,285,286],{},"audio",[66,288,289],{},"document",[66,291,292],{},"text",[66,294,295],{},"archive"," or ",[66,298,299],{},"other",[85,301,302,307],{},[100,303,304],{},[66,305,306],{},"in:Screenshots",[100,308,309],{},"in that folder or its subfolders",[85,311,312,317],{},[100,313,314],{},[66,315,316],{},"in:\"Work\u002FScreenshots\"",[100,318,319],{},"in that folder, by its path, when several folders share a name",[85,321,322,327],{},[100,323,324],{},[66,325,326],{},"alt-text:cat",[100,328,329,330,333,334],{},"whose ",[61,331,332],{},"Alt text"," field has a word starting ",[61,335,336],{},"cat",[85,338,339,344],{},[100,340,341],{},[66,342,343],{},"alt-text:\"black cat\"",[100,345,329,346,348],{},[61,347,332],{}," field has that phrase",[85,350,351,356],{},[100,352,353],{},[66,354,355],{},"status:done",[100,357,358,359,362,363],{},"whose choice field is ",[61,360,361],{},"Done",", or whose list field includes ",[61,364,365],{},"done",[85,367,368,376],{},[100,369,370,166,373],{},[66,371,372],{},"rating>3",[66,374,375],{},"rating\u003C=2",[100,377,378,379,166,382,166,385,166,388,391],{},"whose number field is above 3, or at most 2 (",[66,380,381],{},">",[66,383,384],{},">=",[66,386,387],{},"\u003C",[66,389,390],{},"\u003C=",")",[85,393,394,402],{},[100,395,396,166,399],{},[66,397,398],{},"due:2026-06-01",[66,400,401],{},"due\u003C2026-06-01",[100,403,404],{},"whose date field is that day, or before it",[85,406,407,412],{},[100,408,409],{},[66,410,411],{},"reviewed:yes",[100,413,414],{},"whose yes\u002Fno field is yes",[85,416,417,425],{},[100,418,419,261,422],{},[66,420,421],{},"alt-text:",[66,423,424],{},"-alt-text:",[100,426,427],{},"where the field has a value \u002F has none",[10,429,430,431,434,435,438,439,441,442,446,447,450,451,453,454,457],{},"Fields are named by their ",[14,432,433],{},"key",", not their name, so ",[66,436,437],{},"alt-text"," is the key of a field called ",[61,440,332],{},"; see ",[41,443,445],{"href":444},"\u002Flibrary\u002Ffields","Fields",". Keys ignore case. Words, phrases and filters combine: ",[66,448,449],{},"cat -dog tag:pets rating>3"," finds pets rated above 3 with ",[61,452,336],{}," somewhere and ",[61,455,456],{},"dog"," nowhere.",[19,459,460,463,469,484,490],{},[22,461,462],{},"Separate filters must all match. Commas inside one filter mean any of them.",[22,464,465,468],{},[66,466,467],{},"-"," before a filter leaves out the files it matches.",[22,470,471,472,475,476,479,480,483],{},"Put a value in quotes when it has spaces or commas: ",[66,473,474],{},"tag:\"tax 2026\"",". Inside quotes, write ",[66,477,478],{},"\\\""," for a quote and ",[66,481,482],{},"\\\\"," for a backslash.",[22,485,486,487,174],{},"A word with a colon that isn't a filter needs quotes, such as ",[66,488,489],{},"\"10:30\"",[22,491,492],{},"A field that's left out of search can still be filtered. Its text matches anywhere in the value.",[494,495,497],"h3",{"id":496},"when-a-filter-cant-run","When a filter can't run",[10,499,500],{},"A filter that names a field, tag or folder you don't have, compares a text field, or has a value that doesn't fit (a word in a number field, a choice the field doesn't offer) shows in red with the reason, and the search shows no files until you fix or remove it. Avenvail never quietly drops part of a search, so the files you see always match everything you asked for. This also happens when you open an old link after the field or tag it names was deleted.",[179,502,504],{"id":503},"best-match","Best match",[10,506,507,508,510],{},"While a search has words, ",[14,509,504],{}," appears in the sort menu and is chosen for you; clearing the search puts back the sort you had. Best match ranks each file by its strongest match for each word: a match in the file's name first, then a tag that is exactly the word, another tag, a field, and attachment text last. A file whose whole name is what you typed, with or without its extension, comes first, followed by names that start with it and names that contain it. Ties are newest first. Having many matching places doesn't push a file up, only having better ones.",[179,512,514],{"id":513},"ctrl-k","Ctrl K",[10,516,517,519,520,523,524,527,528,530],{},[14,518,514],{}," (",[14,521,522],{},"⌘ K"," on a Mac) searches the same way from anywhere, as does the file picker in a workflow test, both ranked by Best match. ",[14,525,526],{},"View all results"," at the end of the files opens the full list on ",[14,529,16],{},", across the whole library.",[179,532,534],{"id":533},"who-can-find-what","Who can find what",[10,536,537],{},"Search only ever looks at your own files. Other people's files, tags and fields are never searched or shown, even when their tags or field keys have the same names as yours. Share pages have no search.",[179,539,541],{"id":540},"keeping-the-index-up-to-date","Keeping the index up to date",[10,543,544],{},"Avenvail updates the search index in the same step as the change: renaming a file, tagging it, setting a field (by hand, through the API or from a workflow), adding an attachment, or deleting a file. Workflow test runs never touch it. Every 6 hours Avenvail checks the index for missing, outdated or leftover entries and fixes them, and after restoring a backup it rebuilds the index itself. To rebuild it by hand:",[546,547,552],"pre",{"className":548,"code":549,"language":550,"meta":551,"style":551},"language-bash shiki shiki-themes material-theme-lighter github-light github-dark","docker compose exec avenvail dotnet Avenvail.Api.dll admin rebuild-search\n","bash","",[66,553,554],{"__ignoreMap":551},[555,556,559,562,566,569,572,575,578,581],"span",{"class":557,"line":558},"line",1,[555,560,63],{"class":561},"sbgvK",[555,563,565],{"class":564},"s_sjI"," compose",[555,567,568],{"class":564}," exec",[555,570,571],{"class":564}," avenvail",[555,573,574],{"class":564}," dotnet",[555,576,577],{"class":564}," Avenvail.Api.dll",[555,579,580],{"class":564}," admin",[555,582,583],{"class":564}," rebuild-search\n",[585,586,587],"style",{},"html pre.shiki code .sbgvK, html code.shiki .sbgvK{--shiki-light:#E2931D;--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .s_sjI, html code.shiki .s_sjI{--shiki-light:#91B859;--shiki-default:#032F62;--shiki-dark:#9ECBFF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":551,"searchDepth":589,"depth":590,"links":591},2,3,[592,595,596,597,598],{"id":181,"depth":589,"text":182,"children":593},[594],{"id":496,"depth":590,"text":497},{"id":503,"depth":589,"text":504},{"id":513,"depth":589,"text":514},{"id":533,"depth":589,"text":534},{"id":540,"depth":589,"text":541},"How searching Files matches names, tags, fields and attachments, and how to filter and sort the results.","md",{},true,"\u002Flibrary\u002Fsearch",{"title":5,"description":599},"2.library\u002F7.search","xWzJMiYhMA1qeNNY9XIFR6Y1Z9OzRdx8cs1AJ3v-Ln8",[608,613],{"title":609,"path":610,"stem":611,"description":612,"children":-1},"Attachments","\u002Flibrary\u002Fattachments","2.library\u002F6.attachments","Text kept with a file, such as OCR results or notes, that you can read, download and search.",{"title":614,"path":615,"stem":616,"description":617,"children":-1},"Trash and recovery","\u002Flibrary\u002Ftrash","2.library\u002F8.trash","How deleted files are kept, restored, and deleted for good.",[619,639,667,711,722,741,750,793,828,842,858],{"title":620,"path":621,"stem":622,"children":623,"icon":638},"Getting started","\u002Fgetting-started","1.getting-started\u002F1.index",[624,626,630,634],{"title":625,"path":621,"stem":622},"Introduction",{"title":627,"path":628,"stem":629},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F2.installation",{"title":631,"path":632,"stem":633},"Configure ShareX","\u002Fgetting-started\u002Fsharex","1.getting-started\u002F3.sharex",{"title":635,"path":636,"stem":637},"Updating Avenvail","\u002Fgetting-started\u002Fupdating","1.getting-started\u002F4.updating","i-lucide-rocket",{"title":640,"icon":641,"path":642,"stem":643,"children":644,"page":666},"Library","i-lucide-folder","\u002Flibrary","2.library",[645,649,653,657,661,663,664,665],{"title":646,"path":647,"stem":648},"Uploading files","\u002Flibrary\u002Fuploading","2.library\u002F1.uploading",{"title":650,"path":651,"stem":652},"Files and folders","\u002Flibrary\u002Ffiles-and-folders","2.library\u002F2.files-and-folders",{"title":654,"path":655,"stem":656},"Sharing files","\u002Flibrary\u002Fsharing","2.library\u002F3.sharing",{"title":658,"path":659,"stem":660},"Tags","\u002Flibrary\u002Ftags","2.library\u002F4.tags",{"title":445,"path":444,"stem":662},"2.library\u002F5.fields",{"title":609,"path":610,"stem":611},{"title":5,"path":603,"stem":605},{"title":614,"path":615,"stem":616},false,{"title":668,"path":669,"stem":670,"children":671,"icon":710},"Automations","\u002Fautomations","3.automations\u002F01.index",[672,674,678,682,686,690,694,698,702,706],{"title":673,"path":669,"stem":670},"Overview",{"title":675,"path":676,"stem":677},"Your first workflow","\u002Fautomations\u002Ffirst-workflow","3.automations\u002F02.first-workflow",{"title":679,"path":680,"stem":681},"The editor","\u002Fautomations\u002Feditor","3.automations\u002F03.editor",{"title":683,"path":684,"stem":685},"Values and templates","\u002Fautomations\u002Fvalues","3.automations\u002F04.values",{"title":687,"path":688,"stem":689},"Conditions and branching","\u002Fautomations\u002Fbranching","3.automations\u002F05.branching",{"title":691,"path":692,"stem":693},"Upload intake","\u002Fautomations\u002Fintake","3.automations\u002F06.intake",{"title":695,"path":696,"stem":697},"Testing","\u002Fautomations\u002Ftesting","3.automations\u002F07.testing",{"title":699,"path":700,"stem":701},"Runs and history","\u002Fautomations\u002Fruns","3.automations\u002F08.runs",{"title":703,"path":704,"stem":705},"Quarantine and failures","\u002Fautomations\u002Fquarantine","3.automations\u002F09.quarantine",{"title":707,"path":708,"stem":709},"Workflow templates","\u002Fautomations\u002Ftemplates","3.automations\u002F10.templates","i-lucide-workflow",{"title":712,"path":713,"stem":714,"children":715,"icon":721},"Connections","\u002Fconnections","4.connections\u002F1.index",[716,717],{"title":673,"path":713,"stem":714},{"title":718,"path":719,"stem":720},"AI providers","\u002Fconnections\u002Fai-providers","4.connections\u002F2.ai-providers","i-lucide-plug",{"title":723,"path":724,"stem":725,"children":726,"icon":740},"AI","\u002Fai","5.ai\u002F1.index",[727,728,732,736],{"title":673,"path":724,"stem":725},{"title":729,"path":730,"stem":731},"AI classify and extract","\u002Fai\u002Fclassify-and-extract","5.ai\u002F2.classify-and-extract",{"title":733,"path":734,"stem":735},"AI describe, summarize and write","\u002Fai\u002Fdescribe-and-write","5.ai\u002F3.describe-and-write",{"title":737,"path":738,"stem":739},"AI detect and suggest tags","\u002Fai\u002Fdetect-and-tag","5.ai\u002F4.detect-and-tag","i-lucide-sparkles",{"title":55,"path":54,"stem":742,"children":743,"icon":749},"5.ocr\u002F1.index",[744,745],{"title":673,"path":54,"stem":742},{"title":746,"path":747,"stem":748},"Setup","\u002Focr\u002Fsetup","5.ocr\u002F2.setup","i-lucide-scan-text",{"title":751,"path":752,"stem":753,"children":754,"icon":792},"Self-hosting","\u002Fself-hosting","6.self-hosting\u002F1.index",[755,756,760,764,768,772,776,780,784,788],{"title":673,"path":752,"stem":753},{"title":757,"path":758,"stem":759},"Troubleshooting","\u002Fself-hosting\u002Ftroubleshooting","6.self-hosting\u002F10.troubleshooting",{"title":761,"path":762,"stem":763},"Configuration","\u002Fself-hosting\u002Fconfiguration","6.self-hosting\u002F2.configuration",{"title":765,"path":766,"stem":767},"Reverse proxies and HTTPS","\u002Fself-hosting\u002Freverse-proxy","6.self-hosting\u002F3.reverse-proxy",{"title":769,"path":770,"stem":771},"DigitalOcean","\u002Fself-hosting\u002Fdigitalocean","6.self-hosting\u002F4.digitalocean",{"title":773,"path":774,"stem":775},"Backups and restoration","\u002Fself-hosting\u002Fbackups","6.self-hosting\u002F5.backups",{"title":777,"path":778,"stem":779},"Users and roles","\u002Fself-hosting\u002Fusers","6.self-hosting\u002F6.users",{"title":781,"path":782,"stem":783},"Single sign-on","\u002Fself-hosting\u002Fsingle-sign-on","6.self-hosting\u002F7.single-sign-on",{"title":785,"path":786,"stem":787},"Two-factor and passkeys","\u002Fself-hosting\u002Ftwo-factor-and-passkeys","6.self-hosting\u002F8.two-factor-and-passkeys",{"title":789,"path":790,"stem":791},"Importing","\u002Fself-hosting\u002Fimporting","6.self-hosting\u002F9.importing","i-lucide-server",{"title":794,"path":795,"stem":796,"children":797,"icon":827},"Guides","\u002Fguides","7.guides\u002F1.index",[798,799,803,807,811,815,819,823],{"title":673,"path":795,"stem":796},{"title":800,"path":801,"stem":802},"Optimize ShareX uploads","\u002Fguides\u002Fcompress-uploads","7.guides\u002F2.compress-uploads",{"title":804,"path":805,"stem":806},"Send Discord notifications","\u002Fguides\u002Fdiscord-notifications","7.guides\u002F3.discord-notifications",{"title":808,"path":809,"stem":810},"Organize screenshots with AI","\u002Fguides\u002Fcategorize-screenshots","7.guides\u002F4.categorize-screenshots",{"title":812,"path":813,"stem":814},"Extract receipts with AI","\u002Fguides\u002Fextract-receipts","7.guides\u002F5.extract-receipts",{"title":816,"path":817,"stem":818},"Name screenshots with AI","\u002Fguides\u002Fai-file-names","7.guides\u002F6.ai-file-names",{"title":820,"path":821,"stem":822},"Run AI locally with Ollama","\u002Fguides\u002Flocal-ai-ollama","7.guides\u002F7.local-ai-ollama",{"title":824,"path":825,"stem":826},"Make screenshots searchable","\u002Fguides\u002Fsearchable-screenshots","7.guides\u002F8.searchable-screenshots","i-lucide-book-open",{"title":829,"icon":830,"path":831,"stem":832,"children":833,"page":666},"Reference","i-lucide-library","\u002Freference","8.reference",[834,838],{"title":835,"path":836,"stem":837},"Step reference","\u002Freference\u002Fsteps","8.reference\u002F1.steps",{"title":839,"path":840,"stem":841},"Limits and errors","\u002Freference\u002Flimits","8.reference\u002F2.limits",{"title":843,"path":844,"stem":845,"children":846,"icon":857},"Development","\u002Fdevelopment","9.development\u002F1.index",[847,849,853],{"title":848,"path":844,"stem":845},"Local development",{"title":850,"path":851,"stem":852},"Plugin development","\u002Fdevelopment\u002Fplugins","9.development\u002F2.plugins",{"title":854,"path":855,"stem":856},"Writing documentation","\u002Fdevelopment\u002Fdocumentation","9.development\u002F3.documentation","i-lucide-code",{"title":859,"path":860,"stem":861,"children":862,"icon":889},"Comparisons","\u002Fcomparisons","99.comparisons\u002F1.index",[863,865,869,873,877,881,885],{"title":864,"path":860,"stem":861},"Comparing Avenvail",{"title":866,"path":867,"stem":868},"Avenvail and Zipline","\u002Fcomparisons\u002Fzipline","99.comparisons\u002F2.zipline",{"title":870,"path":871,"stem":872},"Avenvail and XBackBone","\u002Fcomparisons\u002Fxbackbone","99.comparisons\u002F3.xbackbone",{"title":874,"path":875,"stem":876},"Avenvail and chibisafe","\u002Fcomparisons\u002Fchibisafe","99.comparisons\u002F4.chibisafe",{"title":878,"path":879,"stem":880},"Avenvail and Slink","\u002Fcomparisons\u002Fslink","99.comparisons\u002F5.slink",{"title":882,"path":883,"stem":884},"Avenvail and Pingvin Share","\u002Fcomparisons\u002Fpingvin-share","99.comparisons\u002F6.pingvin-share",{"title":886,"path":887,"stem":888},"Avenvail and PicoShare","\u002Fcomparisons\u002Fpicoshare","99.comparisons\u002F7.picoshare","i-lucide-scale",1796307525143,"dedf49b8-a40d-4148-af64-03be4eab20c1"]