# Can the tire gem be used to find an identifier?

**URL:** <https://discuss.elastic.co/t/can-the-tire-gem-be-used-to-find-an-identifier/9665>\
**Category:** Elasticsearch\
**Created:** [November 11, 2012, 10:57pm UTC](https://discuss.elastic.co/t/can-the-tire-gem-be-used-to-find-an-identifier/9665 "2012-11-11T22:57:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matthew](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matthew/32/2628_2.png) [@Matthew](https://discuss.elastic.co/u/Matthew)\
**Post date:** [November 11, 2012, 10:57pm UTC](https://discuss.elastic.co/t/can-the-tire-gem-be-used-to-find-an-identifier/9665/1 "2012-11-11T22:57:53Z")

</div>

Hi.

I'm using the tire gem.

I can add items to an index.

I can search an index.

And I would now like to retrieve a single entry from the index using its \_id.

I can do it using curl:

```
curl -X get http://localhost:9200/articles/article/FTHBxndrRa-aL1EkhSndmA

```

But I can't figure out how to do it using tire.

Please, thanks and with my regards,

Matthew

---

<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, 3:04am UTC](https://discuss.elastic.co/t/can-the-tire-gem-be-used-to-find-an-identifier/9665/2 "2017-07-06T03:04:54Z")

</div>

Closed on July 6, 2017, 3:04am UTC


