Search

ScreenSpace Specifications

Full-text search over the whole corpus (note: Corpus), without a server. The index (note: Alphabetical index) is generated at build (note: Build) and loaded in fragments (note: Fragment) as the user types (note: Type). Facets (note: Facet) on type, source (note: Source), domain (note: Domain) and application (note: Application) carry counts frozen at build; they combine, and a facet with no result (48 passages, no note) is disabled rather than hidden. The query (note: Query) and the active (4 passages, no note) filters live in the URL, so a search can be sent (3 passages, no note) to a colleague and replays (3 passages, no note) exactly.

Expressions without a note (3 passages, no note) appear among the results with a dotted (8 passages, no note) outline (17 passages, no note) and their occurrence (note: Occurrence) count; a "no note (note: Note)" facet isolates or excludes (note: Excluded file) them.

Today

The field (37 passages, no note) sits in the header (9 passages, no note) of every page. Press (4 passages, no note) / anywhere to reach it, Escape to leave it. From two characters (16 passages, no note) on, the best eight results appear under the field, each with its title and a detail line, the type and the first line of a note, the citations (note: Mention) of a glossary term (note: Term) or the documents (note: Document) of a word without a note (note: Keyword); Enter opens the results page at search/index.html?q=…, which lists every result of the query in its address (56 passages, no note) and follows the field as it changes. The field shows the query with a ✕ that clears it, shown in place of the / hint while the field holds something. A query matches by prefix (17 passages, no note) (key finds "Keyword page", checks and check find the same note), every word must match, and there is no typo (4 passages, no note) correction (4 passages, no note). The title weighs 5, an alias (note: Alias) 4, the summary (24 passages, no note) 2, the body, type, application, domain (3 passages, no note), status (8 passages, no note) and source 1 each; the score (note: Confidence) of a result sums the weights of the fields each word matched; among results of the same score the most cited (30 passages, no note) comes first, the pages citing (11 passages, no note) an entity (note: Entity) being the distinct sources of the links pointing (3 passages, no note) at it, then the order of the model (note: Model). The body of a note enters the index up to build.extracted_text_max_chars characters.

The index is written at build under search/: an entity table (5 passages, no note) and one shard per two-character (3 passages, no note) prefix, each a classic script (5 passages, no note) the page loads by injecting a script (37 passages, no note) tag (18 passages, no note), so that the search works when the site (note: Site) is opened from the disk as it does behind a server (see Purpose-built search index). The page loads the table (40 passages, no note) when the field takes focus (8 passages, no note) and one shard (6 passages, no note) per word typed (37 passages, no note), once. Without JavaScript, the field is a plain form (52 passages, no note) that submits to the results page.

The results page is laid out like a catalogue (12 passages, no note); its heading "Search" is kept for assistive technology alone, the query in the field naming the page. The left column (25 passages, no note), as tall as the page, on the surface colour (22 passages, no note) and ruled on its right, holds the facets as checkbox (3 passages, no note) groups (23 passages, no note) with the count of every value (35 passages, no note): "Page type" and "Space (note: Space)" (the type and the source) open, "Domain", "Application" and "Without a note" folded under them, the keyword type labelled (3 passages, no note) "Without a definition (17 passages, no note)", listed last among the types and drawn (23 passages, no note) with a dashed (13 passages, no note) box, and at the foot (10 passages, no note) of the column the note that the counters (3 passages, no note) are set when the site is published and that the filtering happens in the browser (31 passages, no note), without a round trip; on a phone (10 passages, no note) the column folds behind a "Filters" heading above the results. The values come from the entity table and the counts are computed in the browser over the results of the current query, each facet under the filters of the others, so that nothing is fetched beyond the shards of the words typed. Facets combine by intersection; two values of the same facet keep the entities carrying either. A value nothing would come of stays listed at 0, its box disabled rather than hidden. The selected values are recalled above the results as chips (20 passages, no note), each with a ✕ that lifts it, next to a link (note: Link) that clears them all and the summary, "218 results, most cited first", in the site language (40 passages, no note) and never a time: nothing is timed in a static (22 passages, no note) site. Without a query, the page lists every entity of the site under the facets, the most cited first, with the counts of the whole table.

The first result is an expanded card (11 passages, no note): the type as a chip, the title, "cited in 64 pages", the whole summary (the first paragraph (19 passages, no note) of the note cut at two hundred characters when it declares none), then the line of its space, its other names ("Also called: word page") and its broader term ("Broader term: Link") when the note declares them, the broader term named by the title of its page when the reference (30 passages, no note) resolves. The following results are condensed on one line each: the chip, the title, the bare count of citing pages and the summary cut to the row (41 passages, no note); a page nothing cites (31 passages, no note) shows no count at all. Twenty rows are drawn, then a button "Show the next 20" adds the next batch without leaving the page; the summary keeps counting them all. When nothing matches, the page names the query and, when the query has words, proposes the closest form of the dictionary (note: Dictionary), the title or alias sharing the longest (3 passages, no note) prefix with the query, the shortest among equals, with its citations or its occurrences, as a link to the search on that form under the same filters.

The state (36 passages, no note) of a search is its address, search/index.html?q=threshold&type=term&source=specs&nonote=exclude: the query under q, the selected values of every facet under its name, comma-separated. A facet followed pushes an entry to the history (9 passages, no note), typing rewrites the current entry once the reader (note: Reader) pauses for 300 ms, and the back and forward buttons replay the state of the address, field, facets and list included. Opening an address restores the query, the filters and the scroll (3 passages, no note) position (23 passages, no note), remembered (8 passages, no note) per address in the session (note: Meeting) storage (4 passages, no note) of the browser. Nothing on the page repeats the address: the one in the bar (28 passages, no note) of the browser is the state, and can be sent as it is.

The words without a note appear among the results in a dashed card with a dashed chip reading "Without a definition" and a dotted title, followed on the same line by "Used in 6 documents, never defined in the glossary (28 passages, no note)", from the counts of the keyword page; a note under the list says that the words used but not defined appear with the others, dotted, which is how a gap of the glossary shows. A fifth facet, "Without a note", keeps them among the results, keeps them alone or leaves them out, as nonote=only or nonote=exclude in the address. A keyword page never comes before an entity of the same score: at equal relevance the entities go first, then the keyword pages, each in the order of the model.

Objects

Actions

  1. Open a result → entity page
  2. Open a noteless (3 passages, no note) result → keyword page

Rules

Properties6

Application
Generated site
Status
valid
Roles
Reader
URL pattern
/search

6 declared keys. The rest of the file is free text.

On this page4

  1. Today
  2. Objects
  3. Actions
  4. Rules
See the neighbourhood map6 pages6Neighbourhood mapSearch

Neighbourhood map Search

Distance1 hop

Neighbourhood map. The list below carries the same information as the map.existing pageword without a note

90 neighbours in total, more than the map shows.

textual equivalent

Six neighbours at most, always named. Beyond that the map teaches nothing: the list takes over.