Swiftype is a responsive, flexible, and cloud-based search solution provided by Elastic. This popular search tool is used extensively by enterprise companies to improve the search experience across their websites and applications. With the remarkable functionality of Swiftype, you can ensure that your users can find valuable and relevant content. The advanced search algorithms of Swiftype are meticulously designed to deliver customized and effective search results instantly. The flexible architecture of Swiftype allows you to display your preferred content on the top when a search is performed. Consequently, you can adjust your page rankings and the search order results based criteria such as click performance and search topics.
Swiftype Integration Overview
Contentstack and Swiftype Integration Setup
To integrate Swiftype with Contentstack, perform the following steps:
Add SEO Fields to Content TypesFirst, add SEO fields to all the webpage-type content types within your stack. You can optionally categorize pages and add meta tags to your pages by using the tags field in your entries. See the documentation for step-by-step instructions
Define Meta Details in Your Site HTMLAdding Swiftype to your website requires making certain changes in your website code. You start by defining the title, description, and tags in the <head> element of your website’s HTML file.
Define the Body Content in HTML FileYou then need to define the body text of your website pages that Swiftype can understand easily. You do this by using the body-embedded Data Attribute tags.
Generate SitemapSitemaps can make search content easier and effective. The Swiftype crawler can crawl through your web pages and the content quickly with the help of a sitemap. It is therefore recommended that you create a sitemap for your website if you don’t already have one.
Install Search on the Website
In Swiftype, create a new engine and provide the URL of the site that you want to index to enable Swiftype to start crawling your website content. After the setup is complete, you will get the search installation code in the Interface > Install Search section in your Swiftype dashboard. By using this code on every page of your website, you will have Swiftype installed as the default search.