# Match query is working differently for few inputs

**URL:** <https://discuss.elastic.co/t/match-query-is-working-differently-for-few-inputs/25426>\
**Category:** Elasticsearch\
**Created:** [July 13, 2015, 9:42am UTC](https://discuss.elastic.co/t/match-query-is-working-differently-for-few-inputs/25426 "2015-07-13T09:42:51Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![anusha6](https://avatars.discourse-cdn.com/v4/letter/a/a5b964/32.png) [@anusha6](https://discuss.elastic.co/u/anusha6)\
**Post date:** [July 23, 2015, 8:58am UTC](https://discuss.elastic.co/t/match-query-is-working-differently-for-few-inputs/25426/21 "2015-07-23T08:58:09Z")

</div>

Hi Colin,  
Am facing different problem like, if am entering text a/c b am getting only one record as response. But actually with that prefix two documents are there...

Example :  
"A/C Bypass pulley"  
"A/C Bypass pulley(Belts)"

My Query is:

GET pdlfull/pdlfull\_type/\_search  
{  
"query": {  
"match\_phrase\_prefix": {  
"description":"a/c b"

```
}

```

},  
"sort":  
{  
"description.sort\_field"  
{  
"order":"asc"  
}  
}  
}  
I have deleted the index and again gave the settings and mappings then indexed the data, only for this case( a/c b) am facing this problem..  
Can you please guide me regarding this issue....

---

<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:59pm UTC](https://discuss.elastic.co/t/match-query-is-working-differently-for-few-inputs/25426/22 "2017-07-05T23:59:37Z")

</div>

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



[Previous page](https://discuss.elastic.co/t/match-query-is-working-differently-for-few-inputs/25426.md?page=1)
