Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ The following features are planned for future support in all {{serverless-full}}
The following {{es-serverless}} project-specific features are planned for future support:

* [Behavioral Analytics](../../../solutions/search/site-or-app/behavioral-analytics.md)
* [Search Applications](../../../solutions/search/applications.md)
* [Search Applications](../../../solutions/search/search-applications.md)
* Managed web crawler

You can use the [self-managed web crawler](https://github.com/elastic/crawler) in the meantime.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ This feature is not available at all Elastic subscription levels. Refer to the E

### ELSER text expansion [ingest-pipeline-search-inference-elser]

Using Elastic’s [ELSER machine learning model](../nlp/ml-nlp-elser.md) you can easily incorporate text expansion for your queries. This works by using ELSER to provide semantic enrichments to your documents upon ingestion, combined with the power of [Elastic Search Application templates](../../../solutions/search/applications.md) to provide automated text expansion at query time.
Using Elastic’s [ELSER machine learning model](../nlp/ml-nlp-elser.md) you can easily incorporate text expansion for your queries. This works by using ELSER to provide semantic enrichments to your documents upon ingestion, combined with the power of [Elastic Search Application templates](../../../solutions/search/search-applications.md) to provide automated text expansion at query time.

### Named entity recognition (NER) [ingest-pipeline-search-inference-ner]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ The following features are planned for future support in all {{serverless-full}}
The following {{es-serverless}} project-specific features are planned for future support:

* [Behavioral Analytics](../../../solutions/search/site-or-app/behavioral-analytics.md)
* [Search Applications](../../../solutions/search/applications.md)
* [Search Applications](../../../solutions/search/search-applications.md)
* Managed web crawler

You can use the [self-managed web crawler](https://github.com/elastic/crawler) in the meantime.
Expand Down
3 changes: 0 additions & 3 deletions solutions/search/auto-complete.md

This file was deleted.

5 changes: 0 additions & 5 deletions solutions/search/building-search-in-your-app-or-site.md

This file was deleted.

2 changes: 1 addition & 1 deletion solutions/search/full-text.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ You can combine full-text search with [semantic search using vectors](semantic-s

For a high-level overview of how full-text search works, refer to [How full-text search works](full-text/how-full-text-works.md).

For a hands-on introduction to full-text search, refer to the [full-text search tutorial](get-started.md).
For a hands-on introduction to full-text search, refer to the [full-text search tutorial](querydsl-full-text-filter-tutorial.md).


## Learn more [full-text-search-learn-more]
Expand Down
3 changes: 3 additions & 0 deletions solutions/search/full-text/search-relevance.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
---
applies:
stack:
serverless:
mapped_pages:
- https://www.elastic.co/guide/en/elasticsearch/reference/current/recipes.html
---
Expand Down
4 changes: 0 additions & 4 deletions solutions/search/get-started.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
---
mapped_urls:
- https://www.elastic.co/guide/en/elasticsearch/reference/current/run-elasticsearch-locally.html
- https://www.elastic.co/guide/en/elasticsearch/reference/current/getting-started.html
- https://www.elastic.co/guide/en/elasticsearch/reference/current/full-text-filter-tutorial.html
- https://www.elastic.co/guide/en/serverless/current/elasticsearch-get-started.html
- https://www.elastic.co/guide/en/serverless/current/elasticsearch-connecting-to-es-serverless-endpoint.html
- https://www.elastic.co/guide/en/kibana/current/search-space-connection-details.html
---

# Get started
Expand Down
2 changes: 2 additions & 0 deletions solutions/search/querydsl-full-text-filter-tutorial.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
---
mapped_urls:
- https://www.elastic.co/guide/en/elasticsearch/reference/current/full-text-filter-tutorial.html
navigation_title: "Full-text search and filtering"
---

Expand Down
2 changes: 2 additions & 0 deletions solutions/search/run-elasticsearch-locally.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
navigation_title: "Run {{es}} locally"
mapped_urls:
- https://www.elastic.co/guide/en/elasticsearch/reference/current/run-elasticsearch-locally.html
---

# Run {{es}} locally [run-elasticsearch-locally]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Managing search applications requires the `manage_search_application` cluster pr

The {{es}} [Query DSL](../../explore-analyze/query-filter/languages/querydsl.md) 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 {{es}} index.

Search Applications use [search templates](search-templates.md) 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](applications/search-application-api.md) for the details.
Search Applications use [search templates](search-templates.md) 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](search-applications/search-application-api.md) for the details.


## Get started [search-application-overview-get-started]
Expand All @@ -73,7 +73,7 @@ Once created, you can explore the documents in your search application under **S

Use the {{es}} [Put Search Application API](https://www.elastic.co/guide/en/elasticsearch/reference/current/put-search-application.html) 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](applications/search-application-api.md#search-application-api-default-template)).
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](search-applications/search-application-api.md#search-application-api-default-template)).

```console
PUT /_application/search_application/my_search_application
Expand Down Expand Up @@ -101,7 +101,7 @@ PUT /_application/search_application/my_search_application

### Search templates [search-application-overview-get-started-templates]

Search templates are the heart of your search applications. The [default template](applications/search-application-api.md#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](applications/search-application-api.md) 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.
Search templates are the heart of your search applications. The [default template](search-applications/search-application-api.md#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](search-applications/search-application-api.md) 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.



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ mapped_pages:
# Search API and templates [search-application-api]


Your [search applications](../applications.md) use [search templates](../search-templates.md) to perform searches. Templates help reduce complexity by exposing only template parameters, while using the full power of {{es}}'s query DSL to formulate queries. Templates may be set when creating or updating a search application, and can be customized. This template can be edited or updated at any time using the [Put Search Application API](https://www.elastic.co/guide/en/elasticsearch/reference/current/put-search-application.html) API call.
Your [search applications](../search-applications.md) use [search templates](../search-templates.md) to perform searches. Templates help reduce complexity by exposing only template parameters, while using the full power of {{es}}'s query DSL to formulate queries. Templates may be set when creating or updating a search application, and can be customized. This template can be edited or updated at any time using the [Put Search Application API](https://www.elastic.co/guide/en/elasticsearch/reference/current/put-search-application.html) API call.

In a nutshell, you create search templates with parameters instead of specific hardcoded search values. At search time, you pass in the actual values for these parameters, enabling customized searches without rewriting the entire query structure. Search Application templates:

* Simplify query requests
* Reduce request size
* Ensure security and performance, as the query is predefined and can’t be changed arbitrarily

This document provides information and sample templates to get you started using [search applications](../applications.md) for additional use cases. These templates are designed to be easily modified to meet your needs. Once you’ve created a search application with a template, you can search your search application using this template.
This document provides information and sample templates to get you started using [search applications](../search-applications.md) for additional use cases. These templates are designed to be easily modified to meet your needs. Once you’ve created a search application with a template, you can search your search application using this template.

::::{tip}
Search templates use the [Mustache](https://mustache.github.io/) templating language. Mustache variables are typically enclosed in double curly brackets like this: `{{my-var}}`.
Expand Down Expand Up @@ -598,7 +598,7 @@ POST _application/search_application/my_search_application/_search

### kNN search [search-applications-knn-template]

This example supports [k-nearest neighbor (kNN) search](../vector/knn.md)
This example supports [k-nearest neighbor (kNN) search](../vector/knn.md).

A template supporting exact kNN search will look like the following example:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ mapped_pages:
# Search Application client guide [search-application-client]


This document is a how-to guide to building a search experience with a [search application](../applications.md), using the [Search Application client](https://github.com/elastic/search-application-client). The client is a JavaScript library designed to be used in the browser. You’ll integrate this library into your web app to simplify querying your search application.
This document is a how-to guide to building a search experience with a [search application](../search-applications.md), using the [Search Application client](https://github.com/elastic/search-application-client). The client is a JavaScript library designed to be used in the browser. You’ll integrate this library into your web app to simplify querying your search application.

::::{tip}
A [sandbox environment](https://github.com/elastic/search-application-client/blob/main/examples/sandbox/README.md) is available for testing and experimenting with the `search-application-client` library. Jump there if you’d like to try out the client without setting up your own web app.
Expand All @@ -35,13 +35,13 @@ You can think of the search application as the "server side" that persists chang

To follow this guide, you’ll need:

* An **Elastic deployment**, that satisfies the [prerequisites](../applications.md#search-application-overview-prerequisites) for running a search application.
* An **Elastic deployment**, that satisfies the [prerequisites](../search-applications.md#search-application-overview-prerequisites) for running a search application.

* If you don’t have an Elastic deployment, start a free trial on [Elastic Cloud](https://cloud.elastic.co).

* A **search application**.

* Create and manage search applications in the [{{kib}} UI](../applications.md#search-application-overview-get-started-ui) or using the [API](https://www.elastic.co/guide/en/elasticsearch/reference/current/put-search-application.html).
* Create and manage search applications in the [{{kib}} UI](../search-applications.md#search-application-overview-get-started-ui) or using the [API](https://www.elastic.co/guide/en/elasticsearch/reference/current/put-search-application.html).

* A **web app** to query your search application, using [Search Application client](https://github.com/elastic/search-application-client#installation).

Expand Down
2 changes: 2 additions & 0 deletions solutions/search/search-connection-details.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
navigation_title: "Find connection details"
mapped_urls:
- https://www.elastic.co/guide/en/kibana/current/search-space-connection-details.html
---

# Find your connection details [search-space-connection-details]
Expand Down
6 changes: 6 additions & 0 deletions solutions/search/serverless-elasticsearch-get-started.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
---
navigation_title: "Get started on Serverless"
mapped_urls:
- https://www.elastic.co/guide/en/serverless/current/elasticsearch-connecting-to-es-serverless-endpoint.html
---

# Get started with {{es}} Serverless [elasticsearch-get-started]

::::{tip}
Expand Down
13 changes: 10 additions & 3 deletions solutions/search/site-or-app.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Integrating search into your site or app
---
navigation_title: "Add search to your app"
---

% What needs to be done: Write from scratch
# Add search to your site or app

% Scope notes: actual integration steps
The following tools are available to help you add search to your site or app:

- [Clients](): Use programming language clients to integrate {es} with your application.
- [Search UI](site-or-app/search-ui.md): Use the Search UI library to build a user interface for your search application.
- [Behavioral analytics](site-or-app/behavioral-analytics.md): Use Behavioral Analytics to track user behavior and improve search relevance.
- [Search Applications](search-applications.md): Use Search Applications to simplify the process of building search experiences, by leveraging [search templates](search-templates.md).
7 changes: 2 additions & 5 deletions solutions/search/site-or-app/search-ui.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
---
navigation_title: "What is Search UI?"
navigation_title: "Search UI"
mapped_pages:
- https://www.elastic.co/guide/en/search-ui/current/overview.html
---



# Search UI [overview]

# What is Search UI? [overview]

A JavaScript library for the fast development of modern, engaging search experiences with [Elastic](https://www.elastic.co/). Get up and running quickly without re-inventing the wheel.

Expand Down
3 changes: 0 additions & 3 deletions solutions/search/spelling-correction.md

This file was deleted.

25 changes: 11 additions & 14 deletions solutions/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,9 @@ toc:
children:
- file: search/elasticsearch-basics-quickstart.md
- file: search/querydsl-full-text-filter-tutorial.md
- file: search/ingest-for-search.md
children:
- file: search/search-pipelines.md
- file: search/search-approaches.md
- file: search/full-text.md
children:
Expand Down Expand Up @@ -663,15 +666,6 @@ toc:
children:
- file: search/retrievers-examples.md
- file: search/search-templates.md
- file: search/ingest-for-search.md
children:
- file: search/search-pipelines.md
- file: search/building-search-in-your-app-or-site.md
- file: search/auto-complete.md
- file: search/spelling-correction.md
- file: search/cross-cluster-search.md
children:
- file: search/using-resolve-cluster-endpoint-before-cross-cluster-search.md
- file: search/site-or-app.md
children:
- file: search/site-or-app/clients.md
Expand All @@ -683,11 +677,14 @@ toc:
- file: search/site-or-app/behavioral-analytics-event.md
- file: search/site-or-app/behavioral-analytics-event-reference.md
- file: search/site-or-app/behavioral-analytics-api.md
- file: search/applications.md
children:
- file: search/applications/search-application-api.md
- file: search/applications/search-application-security.md
- file: search/applications/search-application-client.md
- file: search/search-applications.md
children:
- file: search/search-applications/search-application-api.md
- file: search/search-applications/search-application-security.md
- file: search/search-applications/search-application-client.md
- file: search/apis-and-tools.md
- file: search/search-approaches/near-real-time-search.md
- file: search/cross-cluster-search.md
children:
- file: search/using-resolve-cluster-endpoint-before-cross-cluster-search.md
- file: other-use-cases.md
Loading