{{ define "title" }}{{ with .QueryLabel }}{{ . }} - {{ end }}Search - Snowden Archive{{ end }} {{ define "search-result-item" }} {{ $r := .Result }}{{ $d := $r.Doc }} {{ $qs := "" }}{{ if eq $d.Collection "foia" }}{{ $qs = .FOIAQS }}{{ end }}
Ways to write a value, in any row or after any operator:
cable tapping finds both words anywhere, in their other forms too (tapping also finds tapped);"apping" finds that text anywhere, even inside a word, like grep -i (it finds for example mapping and tapping);=tap or ="cable tapping" finds exactly those whole words, so =tap skips taps and strap, and on a metadata field it matches one whole value, so agency:=NSA finds documents whose agency is NSA but not NSA, GCHQ;* wildcard finds part of a word: tap* finds words starting with tap, *land words ending in land and *keys* words containing keys. A leading * needs at least three letters after it."upstream collection"~10 finds the words within 10 words of each other (in any order, common stopwords ignored).- excludes within its row: xkeyscore -tempora finds xkeyscore without tempora, and the row keeps that meaning under OR and NOT.
The simple search box (on home page, on 404 page, and via URL ?q=) understands field operators:
program:XKEYSCORE country:Germany cable or journalist:="Poitras, Laura".- negates (-tag:=junk, -draft);date:2013, date:2013..2015, and published:2014-06 filter by date.Search not run: it has {{ .OverClauses }} parts - rows, or the
field:, “quoted” and -excluded terms of a typed query -
and a search can have at most {{ .ClauseLimit }}. The form above keeps the first {{ .ClauseLimit }};
the rest, including any exclusions at the end, were left out. Check the rows and search again.
Search not run: it has {{ .OverWords }} words, counting the words of
“quoted” phrases and -excluded terms, and a search can have at most
{{ .WordLimit }}. Shorten it and search again.
Text snippets are shown for the first {{ .SnippetLimit }} results on this page - choose a page size in preferences, or narrow the search, to see snippets for the rest.
{{ end }} {{ template "pagination" (dict "Page" .Page "TotalPages" .TotalPages "BaseURL" .SearchBaseURL "Sort" .Sort "Order" .Order) }} {{ else }}No matches found.
{{ end }} {{ end }} {{ end }} {{ template "base.html" . }}