# Search Movies/Series

> Source: https://docs.recombee.com/recipes/video/search-movies-and-series

> For the complete documentation index, see [llms.txt](/llms.txt).

**Table of contents**

* [Introduction](#introduction)
* [Scenario Setup](#scenario-setup)
* [Logic](#logic)
* [Filters](#filters)
* [Requesting Search Results](#requesting-search-results)

# Search Movies/Series

![](/img/recipes/video/search-movies-and-series.png) 

## Introduction

Say goodbye to endless scrolling and time-consuming searches. With our full-text search functionality, desired titles are just a few keystrokes away. Our search feature ensures that you can locate the content you're looking for quickly and effortlessly.

Personalized search functionalities go beyond parsing search queries. They take a user's interaction history on the site, fostering a more tailored and intuitive browsing experience. By aligning search results with a user's behavior, businesses can enhance user engagement and other key metrics.

## Scenario Setup

In the Recombee Admin UI, navigate to the **[Scenarios](/scenarios)** section and choose **Create Scenario**.

1. Enter a **Scenario ID**, such as _"search"_
2. Choose **Recommendation type** \- _[Search Items](/api#search-items)_

![Admin UI - Scenario Setup](/img/recipes/video/search-movies-and-series-create-scenario.png)

## Logic

The [Logic](/recommendation_logics) defines the behavior of the recommendation engine.

* Choose the **[video:search](/recommendation_logics#video-search)** logic type from the **Video** models to get personalized full-text search optimized for searching videos

You can adjust how much the results are biased towards the user (as opposed to strictly following the full-text results) by setting the `personalizationImpact` parameter.

Based on the `assetType` parameter you can choose what type of assets will be returned (e.g. movies, series, episodes, or movies and episodes, etc.).

![Admin UI - Logic](/img/recipes/video/search-movies-and-series-logic.png)

## Filters

Available Assets (Global Settings)

You always want to recommend only movies, series, and episodes that are currently available to watch for your users. Therefore you need to apply a [**Filter**](/scenarios#filters) rule to allow only such assets.

As it would be tedious and prone to error to add this rule to all the Scenarios, this rule shall be added to the [**Global Settings**](/scenarios#scenarios-in-admin-ui-global-settings), so it is always applied everywhere.

**The particular filter depends on how you specify such assets in your catalog:**

* If you have a **boolean property** that marks the asset as available you can use the predefined _Available items \[boolean\]_ rule.
* If you have a **timestamp property** that specifies when the asset is published (becomes available) you can use the predefined _Published items rule_.
* Or if you have a **licensing window (start date, end date)** you can use the predefined _Items within their licensing window_ rule.
* In every other case, you can create a [**custom filter rule**](/reql) to allow only the available assets according to your own logic.

![Admin UI - Global Settings - Filter](/img/recipes/video/filter.png)

## Requesting Search Results

There are three ways to get search results.

1. **[No-Code Widget](/no-code-widgets)** \- create a [Quick Search No-Code Widget](/no-code-widgets#html-widget-full-text-search) using the **visual editor in the Admin UI**.
2. **[Widget SDKs](/widget-sdks)** \- use the Quick Search SDK for [vanilla JavaScript](/widget-sdks/quick-search-widget-js) or [React](/widget-sdks/quick-search-widget-react) to create a search widget with the design of your choice.
3. **[API SDK](/api_clients)** \- request the [Search Items endpoint](/api#search-items) of the Recombee API using an SDK of your choice.

For more information, navigate to the Integration tab of the Scenario in the Admin UI.

![Quick Search No-Code Widget](/img/gui/search-widget-sections-video.png)

Quick Search No-Code Widget