% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tcm-term.R
\name{search_terms}
\alias{search_terms}
\title{Search TCM bilingual corpus terms}
\usage{
search_terms(
  q = NULL,
  sources = NULL,
  category = NULL,
  page = 1L,
  page_size = 20L,
  all_pages = FALSE
)
}
\arguments{
\item{q}{Optional search query string.}

\item{sources}{Data source filter (character vector, comma-collapsed).}

\item{category}{Category filter (character vector, comma-collapsed).}

\item{page}{Page number (default 1).}

\item{page_size}{Results per page (default 20, max 100).}

\item{all_pages}{If \code{TRUE}, fetch all pages via auto-pagination.}
}
\value{
A \code{\link[tibble:tibble]{tibble::tibble()}} of terms with attribute \code{"total"}.
}
\description{
Query the TCM Bilingual Corpus with optional text search and filters.
}
\examples{
\dontrun{
search_terms(q = "ginseng")
}
}
