post_classification
Break search hits down by DocuSky facets like corpus, period, and place, returning value, document, and hit counts to show how a term spreads across a database.
Instructions
Break a query's hits down by DocuSky's post-classification facets.
Returns, per facet (corpus, period, place, category…), a distribution of [value, document count, hit count] — the quickest way to see how a term is spread across a database. Facet codes returned here (e.g. "COMP", "TP1") are also what twodim_analysis's dim1/dim2 arguments expect.
For a public ("OPEN") database, the result also carries a webUrl to the
same breakdown on docusky.org.tw — MCP Apps-capable hosts render it inline.
Args: db: Database title. query: Search terms, or ".all" for the whole database. corpus: Corpus title, or "[ALL]". target: "OPEN" or "USER". owner_username: Owner of a friend-shared database, when applicable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db | Yes | ||
| query | No | .all | |
| corpus | No | [ALL] | |
| target | No | OPEN | |
| owner_username | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |