search

Search Unified

Run all search backends in parallel and return sectioned results.

Returns: { "query": str, "sections": { "dictionary": [...] # top-5 dict hits with /dict/ links "catalog": {...} # SearchResponse — top-10 metadata hits "content": {...} # ContentSearchResponse — top-5 body hits "semantic": {...} # SemanticSearchResponse — top-5 vector hits }, "facets": {...} # only with facets=true: catalog-section counts # per group (services/search_facets.py) "errors": { section_name: error_string, ... } }

get/api/search/unified

Request

  • Base URL: https://fojin.app (the document declares no server; this is the origin it was published from)
  • URL: https://fojin.app/api/search/unified
  • Auth: none declared

Query parameters

qstring required

Unified search query

sourcesstring nullable

Comma-separated source codes filter

langstring nullable

Comma-separated language codes (lzh/pi/sa/bo)

dynastystring nullable

Comma-separated dynasties

canonstring nullable

Comma-separated canon codes (taisho/xuzang/pali/…)

sectionstring nullable

Comma-separated Taishō section codes (agama/prajna/…)

facetsboolean

Return 藏经/语言/朝代/部类 counts on the catalog section

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.