System Overview
\nWAIS was developed by Brewster Kahle and Roy Fielding in 1991 as a client/server information retrieval system designed to search large text databases across networks. Before HTML became dominant, WAIS relied on the ANSI Z39.50 standard to enable uniform searching across heterogeneous databases.
Unlike modern web search, WAIS returned scored results based on exact term frequency, inverse document frequency, and boolean operators. It supported multiple query types, including title search, keyword search, date range, and proximity searches.
Query Syntax & Operators
WAIS queries used structured prefixes to target specific document fields. The protocol supported boolean logic, proximity matching, and exact phrase searches.
| Prefix | Type | Description |
|---|---|---|
TI | Title Search | Matches document titles (highest weight) |
KW | Keyword Search | Full-text search across body content |
DA | Date Search | Filters by publication or modification year |
EX | Exact Phrase | Requires contiguous term matching |
OP | Boolean/Logic | SU (substring), NE (near), AND/OR/NOT |
Network Architecture
WAIS operated on a strict client/server model using TCP port 210. The client formatted requests according to Z39.50, while the server maintained an inverted index database. Responses included document scores, metadata, and binary payloads (often ASCII text or early PostScript).