spring_search_concepts
Find Spring Boot documentation sections and headings by topic, returning ranked matches with titles, URLs, versions, and excerpts.
Instructions
Find where a Spring Boot topic is documented: section titles and headings.
Matches the documentation's own titles ("Auto-configuration", "Profiles", "Web", "Security") and the h2/h3/h4 headings inside pages, so "data jpa" finds reference/data/sql.html#jpa-and-spring-data even though no page is titled "JPA". Each hit carries title, url, section, version, score, matched_on ("title", "path" or "heading") and a short excerpt.
version (e.g. "4.1") searches that docs line; omitted searches the
latest one and the result reports which version that was. limit caps
hits (1-25). max_tokens bounds the excerpt text across the hits
(estimated as len(text)//4): whole hits past the budget are dropped and
"truncated" is set.
The index is a single page — the reference navigation tree (296 entries on the measured 4.1.1 docs) — cached for a week. Headings are harvested only for queries the titles cannot answer, at most 4 pages per call, and are persisted under their own cache key, so a repeat search costs zero requests.
On failure returns {"error", "suggestion"}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| version | No | ||
| max_tokens | No |