# GET query replacing "+" sign from document id

**URL:** <https://discuss.elastic.co/t/get-query-replacing-sign-from-document-id/245574>\
**Category:** Elasticsearch\
**Created:** [August 19, 2020, 9:50am UTC](https://discuss.elastic.co/t/get-query-replacing-sign-from-document-id/245574 "2020-08-19T09:50:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rahulkothanath](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rahulkothanath/32/99122_2.png) [@rahulkothanath](https://discuss.elastic.co/u/rahulkothanath)\
**Post date:** [August 19, 2020, 9:50am UTC](https://discuss.elastic.co/t/get-query-replacing-sign-from-document-id/245574/1 "2020-08-19T09:50:17Z")

</div>

when I am searching for a document using "\_id" ,GET query is replacing "+" sign in the id with empty space. below is my id and query.  
id: 2FDC1B4CF35B1A29A5F1FA232410B08887B40E46EMD5DOHcKn5R+q6Wiipsx8Hkg==20200818013300000000

`GET tmx_lookup_1808/_doc/2FDC1B4CF35B1A29A5F1FA232410B08887B40E46EMD5DOHcKn5R+q6Wiipsx8Hkg==20200818013300000000`

the "+" character in the document id is getting replaced and I am not able to find the document.  
below is the response from elastic search with "+" character replaced.

```
{
  "_index" : "tmx_lookup_1808",
  "_type" : "_doc",
  "_id" : "2FDC1B4CF35B1A29A5F1FA232410B08887B40E46EMD5DOHcKn5R q6Wiipsx8Hkg==20200818013300000000",
  "found" : false
}

```

I am also attaching the kibana screenshot.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/3/e/3e3ca3f1375c0684796956a32d86c734047e9b03.png)  
how can I search the document using GET query as I am having a requirement to search from buffer and cant use match query.

Thanks for the help..

---

<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:** [September 16, 2020, 9:50am UTC](https://discuss.elastic.co/t/get-query-replacing-sign-from-document-id/245574/2 "2020-09-16T09:50:34Z")

</div>

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