docs(viewer): correct the character search example to match the code

The example claimed `smith` finds `Smithson`, which only holds for a case
insensitive match. The search is a case sensitive CONTAINS match - DC passes
the search value straight to %mp_searchdata, which uses the SAS `?` operator -
so `smith` finds `Goldsmith` (a lowercase substring) and not `Smithson`.
This commit is contained in:
dc
2026-09-16 23:42:37 +00:00
parent 4a53499055
commit 85f200c724
+1 -1
View File
@@ -18,7 +18,7 @@ A single search box can be used to make a full table search on any character or
The search covers **every** column of the table at once, so you do not need to know which column holds the value you are looking for:
- **Character search** (the default) is a case sensitive CONTAINS match against every character column, so `smith` finds `Smithson` and `Goldsmith`, but not `Smith`.
- **Character search** (the default) is a case sensitive CONTAINS match against every character column, so `Smith` finds `Smithson` and `smith` finds `Goldsmith`, but `smith` will not find `Smithson`.
- **Numeric search** (tick the Numeric box) is an exact match against every numeric column, so `42` will not find `420` or `4210`.
- If a filter is applied, the search runs within the filtered rows rather than the whole table.
- The result set is capped by the [`DC_MAXOBS_WEBVIEW`](/dcc-options/#dc_maxobs_webview) option (500 rows by default). The row count shown next to the table name is the number of rows the search matched, which can be higher than the number of rows displayed.