# Basic Semantic Search or Semantic Search with ELSER

**URL:** https://discuss.elastic.co/t/basic-semantic-search-or-semantic-search-with-elser/353845
**Category:** Elasticsearch
**Created:** [February 22, 2024, 5:53am UTC](https://discuss.elastic.co/t/basic-semantic-search-or-semantic-search-with-elser/353845 "2024-02-22T05:53:44Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![9d224d4833094bd482cf](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/9d224d4833094bd482cf/32/125623_2.png) [@9d224d4833094bd482cf](https://discuss.elastic.co/u/9d224d4833094bd482cf)
#### Post date: [February 22, 2024, 5:53am UTC](https://discuss.elastic.co/t/basic-semantic-search-or-semantic-search-with-elser/353845/1 "2024-02-22T05:53:44Z")

</div>

I want to understand difference between  
Creating simple vector search by importing model (may be from hugging face)  
versus  
Using ELSER  
Any guidelines or recommendations on choosing approach? What are the use cases for each approaches? What are limitations for each approaches?

---

<div class="post-metadata">

### Author: ![Priscilla\_Parodi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/priscilla_parodi/32/43047_2.png) [@Priscilla\_Parodi](https://discuss.elastic.co/u/Priscilla_Parodi)
#### Post date: [March 18, 2024, 11:29pm UTC](https://discuss.elastic.co/t/basic-semantic-search-or-semantic-search-with-elser/353845/2 "2024-03-18T23:29:47Z")

</div>

Hello @9d224d4833094bd482cf,

ELSER is an out-of-domain model trained by Elastic that enables you to perform semantic search (search based on the intent and contextual meaning of a search query).

It expands the searched passages into collections of terms, and these expanded terms are weighted as some of them are more significant than others (learned associations capturing relevance).

It's a more understandable search experience compared to [dense vectors](https://www.elastic.co/guide/en/elasticsearch/reference/8.12/dense-vector.html).

[This blog post](https://www.elastic.co/search-labs/blog/articles/may-2023-launch-information-retrieval-elasticsearch-ai-model) talks about learned sparse models and if you want more details and examples, you can check:

> **[Semantic search | Elasticsearch Guide \[8.12\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/semantic-search.html)**

> **[Lexical and Semantic Search with Elasticsearch — Elastic Search Labs](https://www.elastic.co/search-labs/blog/articles/lexical-and-semantic-search-with-elasticsearch#semantic-search---dense-retrieval)**
>
> In this blog post, you will explore various approaches to retrieving information using Elasticsearch, focusing specifically on text: lexical and semantic search.

Note: ELSER is recommended for English language documents and queries.

> **[Limitations | Machine Learning in the Elastic Stack \[8.12\] | Elastic](https://www.elastic.co/guide/en/machine-learning/8.12/ml-nlp-limitations.html)**

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [April 15, 2024, 11:29pm UTC](https://discuss.elastic.co/t/basic-semantic-search-or-semantic-search-with-elser/353845/3 "2024-04-15T23:29:48Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
