Skip to content

quant search

Manage the QuantCDN on-site search index for the active project. Use it to add records, remove entries, clear the index, or check its status.

Terminal window
quant search <operation> [options]

The search index powers Quant Search. Deployments automatically index new content, but quant search lets you manage the index manually — useful for adding custom records after bulk imports or content migrations, or when debugging missing search results.

Name Description
operation One of status, index, unindex, clear (required).
Operation Behaviour
status Show the current state of the search index.
index Add or update records from a JSON file passed via --path.
unindex Remove a single URL from the index, passed via --path.
clear Remove every entry from the index. Asks for confirmation.
Flag Description
--path For index: path to a JSON file of search records. For unindex: the URL to remove.

The JSON file passed to index must be an array of records. Each record requires title, url, and content; summary, image, categories, and tags are optional:

[
{
"title": "This is a record",
"url": "/blog/page",
"summary": "The record is small and neat.",
"content": "Lots of good content here. But not too much!"
},
{
"title": "Fully featured search record",
"url": "/about-us",
"summary": "The record contains all the trimmings.",
"content": "Lorem ipsum dolor sit amet...",
"image": "https://www.example.com/images/about.jpg",
"categories": ["Blog", "Commerce"],
"tags": ["Tailwind", "QuantCDN"]
}
]
Terminal window
quant search status
Terminal window
quant search index --path ./search-records.json
Terminal window
quant search unindex --path /blog/2026/old-post/
Terminal window
quant search clear