% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ontology.R
\name{search_ontology}
\alias{search_ontology}
\title{Search the TCM Ontology}
\usage{
search_ontology(q, limit = 20L, level = NULL, category = NULL)
}
\arguments{
\item{q}{Search query (required).}

\item{limit}{Maximum results to return (default 20).}

\item{level}{Filter by ontology level (integer, 1--4).}

\item{category}{Filter by top-level category.}
}
\value{
A \code{\link[tibble:tibble]{tibble::tibble()}} with columns: \code{tcm_id}, \code{name}, \code{name_cn},
\code{level}, \code{path}, \code{match_field}, \code{highlight}.
}
\description{
Full-text search across TCM ontology entities.
}
\examples{
\dontrun{
search_ontology("Qi stagnation")
}
}
