# Highlighting in version 2.0.2?

**URL:** <https://discuss.elastic.co/t/highlighting-in-version-2-0-2/39902>\
**Category:** Elasticsearch\
**Created:** [January 22, 2016, 4:11pm UTC](https://discuss.elastic.co/t/highlighting-in-version-2-0-2/39902 "2016-01-22T16:11:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![J0nasty](https://avatars.discourse-cdn.com/v4/letter/j/6a8cbe/32.png) [@J0nasty](https://discuss.elastic.co/u/J0nasty)\
**Post date:** [January 22, 2016, 4:11pm UTC](https://discuss.elastic.co/t/highlighting-in-version-2-0-2/39902/1 "2016-01-22T16:11:13Z")

</div>

Hello, I have following query:

> GET bp/\_search  
> {  
> "query" : {  
> "query\_string" : {  
> "query" : "EUR"  
> }  
> },  
> "highlight" : {  
> "fields": {  
> "businessData": {}  
> }  
> }  
> }  
> }

So I expected the EUR sign to be surronded by the tag in my highlight, but I get following response.

> {  
> "took": 19,  
> "timed\_out": false,  
> "\_shards": {  
> "total": 5,  
> "successful": 5,  
> "failed": 0  
> },  
> "hits": {  
> "total": 31,  
> "max\_score": 0.060523164,  
> "hits": [  
> {  
> "\_index": "bp",  
> "\_type": "FormatEnvelope",  
> "\_id": "2-1",  
> "\_score": 0.060523164,  
> "\_parent": "2",  
> "\_routing": "2",  
> "\_source": {  
> "uniqueIdentifier": 2,  
> "businessData": "\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\tfalse\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\tfalse\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\tfalse\n\t\t\t\n\t\t\t\n\t\t\t\tSystem:Amount2665.130000000000000\</System:Amount\>\n\t\t\t\tSystem:CurrencyCodeEUR\</System:CurrencyCode\>\n\t\t\t\n\t\tfalse\n\t\t\t\n\t\t\t1\n\t\t\t\n\t\t\tfalse\n\t\t\t\n\t\t\tfalse\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t1\n\t\t\t\n\t\t\t3\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t1\n\t\t\t\n\t\t\t\n\t\t\tNone\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\tfalse\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\<primarykey model="Payment" entity="AdditionalCharacteristicsType"\>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\<primarykey model="Message" entity="MessageFormat"\>\n\t\t\t\t\t\t\t\t\t`MT101`\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t`MESSAGE_INDEX`\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t1\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\<primarykey model="Payment" entity="AdditionalCharacteristicsType"\>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\<primarykey model="Message" entity="MessageFormat"\>\n\t\t\t\t\t\t\t\t\t`MT101`\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t`MESSAGE_TOTAL`\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t1\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t"  
> }  
> },  
> ...

I don't see anything from highlighting. I've looked up bugs and I see highlighting doesn't work properly in version 2.1, But I use 2.0.2.Is tha version also bad or do I do something bad in my query?  
thanks

---

<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:22pm UTC](https://discuss.elastic.co/t/highlighting-in-version-2-0-2/39902/2 "2017-07-05T23:22:16Z")

</div>


