# Hybrid search on managed elasticsearch instance

**URL:** <https://discuss.elastic.co/t/hybrid-search-on-managed-elasticsearch-instance/371807>\
**Category:** Elasticsearch\
**Created:** [December 11, 2024, 5:28am UTC](https://discuss.elastic.co/t/hybrid-search-on-managed-elasticsearch-instance/371807 "2024-12-11T05:28:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aiexplorations](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aiexplorations/32/139908_2.png) [@aiexplorations](https://discuss.elastic.co/u/aiexplorations)\
**Post date:** [December 11, 2024, 5:28am UTC](https://discuss.elastic.co/t/hybrid-search-on-managed-elasticsearch-instance/371807/1 "2024-12-11T05:28:22Z")

</div>

Hi all,

I have a specific question on whether we need all the vectors to be persisted in memory on the Elasticsearch ML node (or in the other ES nodes) when running ML search.

We're building an application at my end which needs to implement hybrid search on ES for millions of records of data. We compute embeddings for some of the data fields in each record and use this as part of the hybrid search feature (which uses BM25 and vector similarity via RRF).

Want to understand whether these embeddings need to be persisted in memory, or whether they can be persisted to indexes, like with a vector database.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [December 11, 2024, 6:29am UTC](https://discuss.elastic.co/t/hybrid-search-on-managed-elasticsearch-instance/371807/2 "2024-12-11T06:29:56Z")

</div>

Welcome.

Elasticsearch is a vector database. You need to index (store) your vectors in ES if you want to be able to search for them.
