SearchBlox

SearchBlox Developer Documentation

Welcome to the SearchBlox developer documentation. Here you will find comprehensive technical documentation to help you start working with SearchBlox as quickly as possible, as well as support if you get stuck. Let's jump right in!

Guides

Enable CORS

Enable CORS for specific Domains

Please add the following configuration change using your top-level domain value in the web.xml to enable CORS.

Update the file web.xml (Windows: C:\SearchBloxServer\webapps\searchblox\WEB-INF\web.xml Linux: /opt/searchblox/webapps/searchblox/WEB-INF/web.xml) to make this change:

To allow single domain, edit as shown below:

<init-param>
<param-name>cors.allowOrigin</param-name>
<param-value>https://www.searchblox.com</param-value>
</init-param>

or to allow multiple domains, edit as shown below separated by space between the domain values:

<init-param>
<param-name>cors.allowOrigin</param-name>
<param-value>http://localhost:8080 http://localhost:8091</param-value>
</init-param>

Please save web.xml file and restart the SearchBlox service.

Updated about a month ago


Enable CORS


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.