post_classification
Break search hits down by facets like corpus, period, place, or category to reveal how a query term is distributed across a DocuSky 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.
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 |