Embedded Tantivy Search & Technical SEO
DioxusPress builds instant full-text search and search-engine discoverability directly into the Rust binary — without external SaaS dependencies like Algolia.
1. Embedded Tantivy Full-Text Search (⌘K)
- In-Process Pure Rust:
module-searchembeds Tantivy directly inside the Axum server with bilingual CJK + English tokenization, boosted title scoring, kind filters (doc/blog/case/topic), and highlighted context snippets. - Incremental
manifest.jsonDiffing: Filemtimestamps are compared against/app/data/search-index/manifest.jsonso only added or modified Markdown files are upserted and deleted files are pruned. Even across 2,500+ documentation pages, incremental refreshes finish in milliseconds and cold full builds take ~6 seconds. - Versioned Schema Auto-Upgrade: Bumping
IndexManifest::CURRENT_VERSIONautomatically triggers a clean one-time re-upsert when indexing rules evolve.
2. End-to-End Technical SEO
- Complete SSR
<head>on First Paint: Every route emits accurate<title>,<meta name="description">,<link rel="canonical">,hreflangalternates (on paired bilingual docs and papers), and Open Graph / Twittersummary_large_imagetags before any client JS runs. - Schema.org JSON-LD:
- Homepage emits
WebSite; - Documentation pages emit
TechArticle(withinLanguagematching the resolved prose language and optionalSoftwareSourceCodeaboutmetadata); - Blog posts emit
Articlewith publication/revision timestamps and author attribution.
- Homepage emits
- Dynamic
/sitemap.xml& Canonical Slash Redirects:/sitemap.xmlreflects only compiled and enabled modules (plus custom internalsite.json::navigationroutes and?lang=enURLs for paired bilingual docs), served with a 1-hourpubliccache header;trailing_slash_mwpermanently redirects/docs/guide/(308) to/docs/guideto prevent duplicate-URL dilution.
3. Google Search Console Checklist
After pointing your domain to DioxusPress:
- Verify domain ownership in Google Search Console via DNS
TXTrecord; - Submit
https://<your-domain>/sitemap.xmlunder Sitemaps; - Pair concise
sidebar_labelstrings with descriptive long-tailtitlefrontmatter to capture high-intent developer queries.

