DatoCMS Site Search is a way to deliver tailored search results to your site visitors. You can think of it as a replacement for the now discontinued Google Site Search.
extremely easy to integrate with your static website;
completely customizable in terms of look & feel;
works without the need to tweak any setting;
handles nicely multi-lingual websites;
included in the price of DatoCMS with no additional charges.
Everytime your website finishes being deployed, we'll crawl it to fetch updated content. Crawling starts from the URL you configure as "Website frontend URL" in your Site settings and recursively follows all the hyperlinks pointing to your domain. If your website has a Sitemap file (
sitemap.xml under the root of your domain), we'll use it as well;
If you are not using the deploy feature, or if you are using a hybrid approach to building the site, you can also trigger a reindex indipendently from the build trigger, using the specific endpoint;
The time needed to finish the operation depends by the number of pages in your website and by your host's performances, but normally we'll do ~20 pages/sec;
Through the HTML global
lang attribute — or heuristics, if it's missing — we detect the language every page was written in, so that indexing will happen with proper stemming. That is, if the visitor searches for "cats", we'll also return results for "cat", "catlike", "catty", etc.
From your website, you can make AJAX requests to our JSON API to present relevant results to your visitors.
Learn how to install the site search to your website, please start by configuring DatoCMS.