Whitelisting AddSearch to Work with Content Security Policy

Content Security Policy (CSP) is used to prevent XSS attacks by not loading content from external domains. CSP also prevents the loading of AddSearch script …

Dev Indexing

Getting Analytics Data from Search API Usage

If you build your own search user interface using the AddSearch Search API, the following data is sent to AddSearch Analytics backend automatically: Keywords used …

Analytics API Dev

Implementing Search Suggestions Autocomplete

AddSearch automatically generates search suggestions based on searches made on your website. Search suggestions become more relevant over time when the number of searches increases. …

API Dev Ready-made View Search UI

Using JWT tokens to secure search

Usually, anyone can query any AddSearch index by just knowing the public key of that index. In most cases, this is not a problem, since …

API Dev Search UI

Restricting Search to a Certain Area of Your Website

There are two ways to restrict the search to a certain area of your site Control what is indexed by our crawler Index everything, but …

Dev Indexing

Separate Results Page Settings

You can adjust the Separate results page’s functionality with a global JavaScript variable called “addsearch_settings”. The variable must be defined above the script tag, that …

Dev Ready-made View Search UI

Search Widget Settings

You can adjust the functionality of the Search Widget with a global JavaScript variable called “addsearch_settings”. The variable must be defined above the script tag …

Dev Ready-made View Search UI

Stemming and Language Settings

Stemming defines how AddSearch analyzes users’ search queries and textual content of your site. The language-specific stemmer detects endings and plurals of the words. For …

Dashboard Language Settings Result Management and Ranking

Set Up Language-based Search Results

By default, automatic language detection is disabled in the dashboard, and the search returns search results from all pages regardless of the language. Enabling automatic …

Dashboard Language Settings Ready-made View Result Management and Ranking