﻿---
title: Search applications
description: Search Applications enable users to build search-powered applications that leverage the full power of Elasticsearch and its Query DSL, with a simplified...
url: https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/3898/solutions/search/search-applications
products:
  - Elasticsearch
---

# Search applications
*Search Applications* enable users to build search-powered applications that leverage the full power of Elasticsearch and its Query DSL, with a simplified user experience. Create search applications based on your Elasticsearch indices, build queries using search templates, and easily preview your results directly in the Kibana Search UI.
You can also interact with your search applications using the [Search Application APIs](https://www.elastic.co/docs/api/doc/elasticsearch/group/endpoint-search_application). Search Applications are designed to simplify building unified search experiences across a range of enterprise search use cases, using the Elastic platform.
<admonition title="Search Applications documentation">
  Documentation for the Search Applications feature lives in two places:
  - The documentation in this section covers the basics of Search Applications, information about working with Search Applications in the Kibana UI, and use case examples.
  - The [Elasticsearch API documentation](https://www.elastic.co/docs/api/doc/elasticsearch/group/endpoint-search_application) contains the API references for working with Search Applications programmatically. Jump there if you’re only interested in the APIs.
</admonition>


## Availability and prerequisites

The Search Applications feature was introduced in Elastic version **8.8.0**.
<note>
  Search Applications is a beta feature. Beta features are subject to change and are not covered by the support SLA of general release (GA) features.
</note>

This feature is available to all **Elastic Cloud Hosted** deployments.
This feature is also available to **self-managed** deployments when Elastic subscription requirements are satisfied. View the requirements for this feature under the **Elastic Search** section of the [Elastic Stack subscriptions](https://www.elastic.co/subscriptions) page.
For Serverless users, this is an API-only feature. You can create and manage search applications using the [Search Application APIs](https://www.elastic.co/docs/api/doc/elasticsearch-serverless/group/endpoint-search_application).
Your deployment must include the Elasticsearch and Kibana services.
Managing search applications requires the `manage_search_application` cluster privilege, and also requires the `manage` [index privilege](https://docs-v3-preview.elastic.dev/elastic/elasticsearch/tree/main/reference/elasticsearch/security-privileges#privileges-list-indices) on all indices associated with the search application.

## Overview

The Elasticsearch [Query DSL](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/3898/explore-analyze/query-filter/languages/querydsl) is powerful and flexible, but it comes with a steep learning curve. Complex queries are verbose and hard to understand for non-experts. We’ve designed search applications to be easier to search over, but with the flexibility of working with an Elasticsearch index.
Search Applications use [search templates](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/3898/solutions/search/search-templates) to simplify the process of building queries. Templates are defined when creating a search application, and can be customized according to your needs. Read [Search API and templates](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/3898/solutions/search/search-applications/search-application-api) for the details.

## Get started


### Option 1: Get started in the UI

```
serverless: unavailable 
```

<warning applies-to="{"stack": "unavailable 9.2.0"}">
  This feature is unavailable for new users and is hidden from the navigation menu. It remains accessible for users who started using the feature before 9.2.
</warning>

You can create build, and manage your search applications directly in the Kibana UI under **Search**. Make sure you have at least one Elasticsearch index to work with on your deployment. The indices underlying your search application are searched together, similar to how an [alias](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/3898/manage-data/data-store/aliases) searches over multiple indices.
To create a new search application in Kibana:
1. Go to **Search > Search Applications**.
2. Select **Create**.
3. Select the Elasticsearch indices you want to use for your search application.
4. Name your search application.
5. Select **Create**.

Your search application should now be available in the list.
Once created, you can explore the documents in your search application under **Search > Search Applications >** *your-search-application* > **Docs Explorer**. From there, you can expand a matching Elasticsearch document to see its full contents.

### Option 2: Get started with the API

Use the Elasticsearch [Put Search Application API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-search-application-put) to create a search application.
The following example creates a search application named `my_search_application` that searches over the `my_search_index1` and `my_search_index2` indices, along with defining a simple search template (Refer to [Default template example](/elastic/docs-content/pull/3898/solutions/search/search-applications/search-application-api#search-application-api-default-template)).
```json

{
  "indices": [ "my_search_index1", "my_search_index2" ],
  "template": {
    "script": {
      "source": {
        "query": {
          "query_string": {
            "query": "{{query_string}}",
            "default_field": "{{default_field}}"
          }
        }
      },
      "params": {
        "query_string": "*",
        "default_field": "*"
      }
    }
  }
}
```


### Search templates

Search templates are the heart of your search applications. The [default template](/elastic/docs-content/pull/3898/solutions/search/search-applications/search-application-api#search-application-api-default-template) created for a search application is very minimal, and you’ll want to customize it to suit your needs. [Search API and templates](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/3898/solutions/search/search-applications/search-application-api) contains a number of examples to get you started, including the default template, as well as templates for text search, semantic search and hybrid search.