Home / Site Wizard / Site Search / Full-text Search

Site Search / Full-text Search

A static site can have its own search: build the index at build time, query it in the browser — no backend, no database.

🔎 Scenario ⏱ 1.5 hours 5 steps Difficulty 0 / 5 steps done
■ Full text · Static content

Site Search / Full-text Search: the complete 5-step walkthrough

This is the full static walkthrough (scripts and checklists included), generated by scripts/seo-prerender.js from data/en/steps.json so that search engines and visitors with JavaScript disabled can read it. The interactive wizard above has exactly the same content.

More questions about Site Search / Full-text Search

How many steps does Site Search / Full-text Search take, and how long will it take?

5 steps, about 1.5 hours: 1) Pick an approach: build-time index / own inverted index / hosted search; 2) Scope the body: only what should be findable gets indexed; 3) Generate the index: one command, plus Chinese segmentation; 4) Wire it into the page: official UI or your own rendering; 5) Launch and observe: don't let search pages steal index slots. Every step ships with instructions, a copy-paste script and a checklist.

What is the first step for Site Search / Full-text Search?

Pick an approach: build-time index / own inverted index / hosted search — Choose by scale before wiring up a paid search API. Everything after it builds on this step.

How do I know I did Site Search / Full-text Search right?

Launch and observe: don't let search pages steal index slots — Deployed means the directory is served; zero-result terms are your editorial backlog. The checklist in that step is your acceptance test: tick every box before you call it live.