class RecombeeApiClient::SearchItemSegments

Full-text personalized search that returns Segments from a Segmentation. The results are based on the provided ‘searchQuery` and also on the user’s past interactions (purchases, ratings, etc.).

Based on the used Segmentation, this endpoint can be used for example for:

- Searching within categories or brands
- Searching within genres or artists

For example if the user is searching for “iPhone” this endpoint can return “cell phones” category.

You need to set the used Segmentation the Admin UI in the Scenario settings prior to using this endpoint.

The returned segments are sorted by relevance (first segment being the most relevant).

It is also possible to use POST HTTP method (for example in case of very long ReQL filter) - query parameters then become body parameters.