# No ElasticSearch highlighting when querying fieldtype Date and with a Range query

**URL:** <https://discuss.elastic.co/t/no-elasticsearch-highlighting-when-querying-fieldtype-date-and-with-a-range-query/14452>\
**Category:** Elasticsearch\
**Created:** [November 18, 2013, 8:07pm UTC](https://discuss.elastic.co/t/no-elasticsearch-highlighting-when-querying-fieldtype-date-and-with-a-range-query/14452 "2013-11-18T20:07:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mark\_Vervuurt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mark_vervuurt/32/1970_2.png) [@Mark\_Vervuurt](https://discuss.elastic.co/u/Mark_Vervuurt)\
**Post date:** [November 18, 2013, 8:07pm UTC](https://discuss.elastic.co/t/no-elasticsearch-highlighting-when-querying-fieldtype-date-and-with-a-range-query/14452/1 "2013-11-18T20:07:20Z")

</div>

Dear Experts,

Using the Head plugin I issued a query on a field of type Date and there  
was no Highlighting in the search response. I had the same experience with  
a Range query.  
Thankfully I was successful with a query on a field of type String.

Does ElasticSearch support highlighting when querying a field of type Date?  
Does ElasticSearch support highlighting when using a Range query?

If yes could you provide working examples.  
if no could you provide alternative solutions to still be able to implement  
this.

Thank you.

Greetings,  
Mark

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![jpountz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jpountz/32/45836_2.png) [@jpountz](https://discuss.elastic.co/u/jpountz)\
**Post date:** [November 19, 2013, 10:03am UTC](https://discuss.elastic.co/t/no-elasticsearch-highlighting-when-querying-fieldtype-date-and-with-a-range-query/14452/2 "2013-11-19T10:03:17Z")

</div>

Hi Mark,

Unfortunately, this is not supported in Elasticsearch right now and I don't  
know about alternative solutions.

--  
Adrien Grand

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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 6, 2017, 2:06am UTC](https://discuss.elastic.co/t/no-elasticsearch-highlighting-when-querying-fieldtype-date-and-with-a-range-query/14452/3 "2017-07-06T02:06:16Z")

</div>

Closed on July 6, 2017, 2:06am UTC


