# What is ES equivalent for Solr's hl.preserveMulti?

**URL:** <https://discuss.elastic.co/t/what-is-es-equivalent-for-solrs-hl-preservemulti/44287>\
**Category:** Elasticsearch\
**Created:** [March 14, 2016, 6:59am UTC](https://discuss.elastic.co/t/what-is-es-equivalent-for-solrs-hl-preservemulti/44287 "2016-03-14T06:59:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![samiksha](https://avatars.discourse-cdn.com/v4/letter/s/858c86/32.png) [@samiksha](https://discuss.elastic.co/u/samiksha)\
**Post date:** [March 14, 2016, 6:59am UTC](https://discuss.elastic.co/t/what-is-es-equivalent-for-solrs-hl-preservemulti/44287/1 "2016-03-14T06:59:45Z")

</div>

All,  
We are evaluating both Solr and Elasticsearch for a usecase. In Solr one of the parameters used in highlighting is hl.preserveMulti to preserve order of values in a multiValued data. Doing so in Solr, then it returns all of the values of the multivalued data in their original order. If this parameter is used, the values that have a hit are highlighted and the ones that do not contain a hit are returned un-highlighted.

In elasticsearch, with highlighting on, only the values which contains the highlighted snippet is returned back in \_highlight and I am unable to get back rest of the values (which do not contain highlighting) from a multivalued list in \_highlight

Please help me resolve this issue.

Thanks,  
Samiksha

---

<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:** [July 5, 2017, 11:08pm UTC](https://discuss.elastic.co/t/what-is-es-equivalent-for-solrs-hl-preservemulti/44287/2 "2017-07-05T23:08:46Z")

</div>

Closed on July 5, 2017, 11:08pm UTC


