SearchBlox

SearchBlox Developer Hub

Welcome to the SearchBlox developer hub. Here you will find comprehensive guides and 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

OneSource for SearchBlox

SearchBlox OneSource is a replacement for Google Search Appliance's Onebox feature. This feature allows you to submit a search query to an external source and output the search results XML in SearchBlox.

Enter the following OneSource configuration into the ../webapps/searchblox/WEB-INF/web.xml file in SearchBlox:

 <filter>
        <filter-name>OneSource Filter</filter-name>
        <filter-class>com.searchblox.search.OneFilter</filter-class>
        <init-param>
                <param-name>onesource/people</param-name>
                <param-value>https://www.example.com/gsa_xml_services/dept/</param-value>
        </init-param>
        <init-param>
                <param-name>onesource/office</param-name>
                <param-value>https://www.example1.com/gsa_xml_services/offices/</param-value>
        </init-param>
        <init-param>
                <param-name>onesource/maps</param-name>
                <param-value>https://maps.example2.com/api/gsa</param-value>
        </init-param>
    </filter>


    <filter-mapping>
        <filter-name>OneSource Filter</filter-name>
        <url-pattern>/onesource/*</url-pattern>
    </filter-mapping>

OneSource for SearchBlox


Suggested Edits are limited on API Reference Pages

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