# Term query not working

**URL:** <https://discuss.elastic.co/t/term-query-not-working/200277>\
**Category:** Elasticsearch\
**Created:** [September 19, 2019, 5:12pm UTC](https://discuss.elastic.co/t/term-query-not-working/200277 "2019-09-19T17:12:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ramesh\_Kanakarajan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ramesh_kanakarajan/32/45283_2.png) [@Ramesh\_Kanakarajan](https://discuss.elastic.co/u/Ramesh_Kanakarajan)\
**Post date:** [September 19, 2019, 5:12pm UTC](https://discuss.elastic.co/t/term-query-not-working/200277/1 "2019-09-19T17:12:40Z")

</div>

I am trying to get data through term query, but it not returning any data.  
I searched in Google...came to know, need to append "keyword" in search variable when we have "text" and "keyword" defined for a field in mappings file.  
But it not return any data and also "keyword" is not showing in suggestions to append.  
please give your suggestions...  
thanks in advance...

Query  
GET /pojoindex-audio\_doc-0.1/\_search  
{  
"query":{  
"term" : {  
"audio\_doc.audiodate.audio\_duration":{  
"value":33,  
"boost" : 1.0  
}  
}  
}  
}

---

<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:** [October 17, 2019, 5:12pm UTC](https://discuss.elastic.co/t/term-query-not-working/200277/2 "2019-10-17T17:12:41Z")

</div>

Closed on October 17, 2019, 5:12pm UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
