Search View (Org Mode Compact Guide)

Next: Agenda Commands, Previous: Matching Tags and Properties, Up: Agenda Views [Contents]

### 10.6 Search View

This agenda view is a general text search facility for Org mode entries. It is particularly useful to find notes.

`M-x org-agenda s` (`org-search-view`)

  This is a special search that lets you select entries by matching a substring or specific words using a boolean logic.

For example, the search string ‘`computer equipment`’ matches entries that contain ‘`computer equipment`’ as a substring.

Search view can also search for specific keywords in the entry, using Boolean logic. The search string ‘`+computer +wifi -ethernet -{8\.11[bg]}`’ matches note entries that contain the keywords ‘`computer`’ and ‘`wifi`’, but not the keyword ‘`ethernet`’, and which are also not matched by the regular expression ‘`8\.11[bg]`’, meaning to exclude both ‘`8.11b`’ and ‘`8.11g`’.

Note that in addition to the agenda files, this command also searches the files listed in `org-agenda-text-search-extra-files`.