Skip to content

Search Options

Relewise Search can be fitted with several options to fine-tune and improve your users' search experience. Below are the most common features.

Filters

It is possible to apply a number of filters to your searches, to define how and when it should return results. These filters range from defining search restrictions based on data key values, to filtering based on assortments, entity category, or view- and purchase behavior tracked to the user. In this way, filters are designed to narrow and specify the scope of a search.

To find a list of available filters in Relewise, we refer either to our SDKs, available via our examples page. Alternatively, the filters can be found on our swagger page.

Filters may also be applied to recommendations.

Batching Searches

Batching is an option that allows for the grouping (batching) of multiple searches into a single request. Batching ensures faster response and load times, and ensures that the result of multiple searches displayed on the same page will be delivered at the same time, thus making sure that all search-related objects display simultaneously.

Specifically, you may use SearchRequestCollection, which has the Requests property. Here, you can add a number of different SearchRequests to be served back to you in one go.

Using this method will return a ResponseCollection with a Responses collection. The index of this collection is automatically aligned with the index of the request to ensure ease of use.

Unlike batched recommendations, batched searches can return both product and content results without issue.

Search Batching Use Cases

For instance, you might want to execute both a ProductSearchRequest and a ContentSearchRequest at the same time, to present users with both product and content results to their query. Batching them ensures that the results are delivered simultaneously on the page, which makes for a better user experience.

Another use case might be to batch ProductSearchRequest with SearchTermPredictionRequest, so that your search results provide product results as well as proactive search term predictions.

The Search Live View

Batching is reflected in the Search Live View, where batched requests are displayed as a single request instead of multiple. To see if a request is batched, and to inspect the details of the batched request, you can click on the Details icon next to the request on the Live View page.

MyRelewise Search Batch Request

Don't know us? Don't worry - you can find more information about us, by visiting our main page www.relewise.com