Row search
Row search finds Provider records by what their text says. Pool search finds which tables and columns hold a kind of data. Row search finds the records themselves: calls where a customer raised pricing, issues about an SSO login loop. Use Pool search when you do not yet know the table. Use Row search when the question is about the contents of records. One SQL table function does the search: search_everything. It covers the Provider Pool only,providers.<connector>.<table>, and only text fields a Provider has flagged for it. It takes up to four arguments, by position only: query, then scope, then limit, then half_life. The query is plain text describing the records you want. The optional scope is a dotted pattern that must start with providers, the same shape Pool search uses: providers.jiracloud.* is one Provider, providers.jiracloud.issues.body is one field. With no scope, every Provider table the session can read is searched. The optional limit is how many records to return, from 1 to 100, and it defaults to 20. Pass NULL to skip scope and still set limit. The optional half_life, an INTERVAL such as INTERVAL ‘30 days’, ranks fresh records higher. Run a search like any other SQL, with Preview a Plot, the operation that runs one query and returns its rows without saving a Report.
- Describe the records in plain words, such as customer raised pricing or SSO login loop. Narrow with a scope when you already know the Provider.
- Keep a LIMIT. The function’s own limit is the number of records, and SQL LIMIT only filters those.
- For a question about a time, such as what customers said this month, filter on updated_at, for example WHERE updated_at >= now() - INTERVAL ‘30 days’, or updated_at BETWEEN DATE ‘2026-09-01’ AND DATE ‘2026-10-01’. The search applies the window itself, so a narrow window still finds matching records. Compare updated_at itself with a time, with BETWEEN, IS NULL or IS NOT NULL, joined by AND. Any other filter on updated_at alone, such as date_trunc(‘day’, updated_at) or two ranges joined by OR, is refused with QL-PL-023, and the message names the form to use.
- When fresh records matter more but older ones still count, such as what customers say about pricing lately, pass a half-life and order by relevance: search_everything(‘customer raised pricing’, NULL, 20, INTERVAL ‘30 days’) … ORDER BY relevance DESC. relevance is score × (0.5 + 0.5 × 2^(−age / half_life)), so a record one half-life old keeps three quarters of its score, and age at most halves it. A record with no updated_at counts as the oldest. score stays the similarity. Use a time window instead when records outside a period must not return.
- Read the full record from the source table. row_key is JSON text. Join a text key with json_get_str(row_key, ‘id’), and a numeric key with json_get_int, using the names inside row_key. The join is an ordinary read of that table, so a record the search omitted stays omitted.
- If nothing comes back, rephrase the query, widen the scope, or check with Pool search that the table exists and the Provider is connected. An empty search can also mean the index is not ready yet.