# How to balance search relevance with lots of images in Elasticsearch?

**URL:** https://discuss.elastic.co/t/how-to-balance-search-relevance-with-lots-of-images-in-elasticsearch/381905
**Category:** Elasticsearch
**Tags:** elastic-stack-monitoring, reindex
**Created:** [September 12, 2025, 1:32pm UTC](https://discuss.elastic.co/t/how-to-balance-search-relevance-with-lots-of-images-in-elasticsearch/381905 "2025-09-12T13:32:15Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jessicakaren907](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jessicakaren907/32/144933_2.png) [@jessicakaren907](https://discuss.elastic.co/u/jessicakaren907)
#### Post date: [September 12, 2025, 1:32pm UTC](https://discuss.elastic.co/t/how-to-balance-search-relevance-with-lots-of-images-in-elasticsearch/381905/1 "2025-09-12T13:32:15Z")

</div>

Quick question for the community: has anyone here tried indexing pages that are heavy on visuals?

I’ve seen cases where full-text search works fine for pure articles, but when the page has lots of images + short descriptions (example: [fashionismic-edgar-haircut](https://fashionismic.com/edgar-haircut/)), the results feel less accurate.

Do you usually stick to body text only, or include extra metadata like captions/alt tags in your indices?

---

<div class="post-metadata">

### Author: ![Rafa\_Silva](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rafa_silva/32/147814_2.png) [@Rafa\_Silva](https://discuss.elastic.co/u/Rafa_Silva)
#### Post date: [September 13, 2025, 12:28am UTC](https://discuss.elastic.co/t/how-to-balance-search-relevance-with-lots-of-images-in-elasticsearch/381905/2 "2025-09-13T00:28:04Z")

</div>

Welcome to the community, Jessica!

Good question when dealing with image-heavy pages, it helps to enrich documents with metadata like captions, alt tags, and surrounding text. Index those fields with analyzers and use boost or function\_score to balance their weight. Body text stays important, but metadata gives extra signals to improve relevance.
