# How to use the java api to retreive all values in one item

**URL:** <https://discuss.elastic.co/t/how-to-use-the-java-api-to-retreive-all-values-in-one-item/40177>\
**Category:** Elasticsearch\
**Created:** [January 27, 2016, 12:06am UTC](https://discuss.elastic.co/t/how-to-use-the-java-api-to-retreive-all-values-in-one-item/40177 "2016-01-27T00:06:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![k\_Anirak](https://avatars.discourse-cdn.com/v4/letter/k/cab0a1/32.png) [@k\_Anirak](https://discuss.elastic.co/u/k_Anirak)\
**Post date:** [January 27, 2016, 12:06am UTC](https://discuss.elastic.co/t/how-to-use-the-java-api-to-retreive-all-values-in-one-item/40177/1 "2016-01-27T00:06:58Z")

</div>

I'm using java and I need to obtain 1. a list of all values stored in a specific item and 2. any single value stored in a specific value. I don't want a search, just the equivalent to SELECT qualifiers1 from table.

I found a couple of close answers but they were 2 years old and one had an outdated link. The only examples I can find are those that are searching for specific values.  
the design of the documents I'm retrieving looks something like this:  
{  
"id": "1234",  
"householdId": 5678,  
"qualifiers":  
{  
"1": "4ed6e659",  
"8": "208440404",  
"9": "22",  
.....

What I want to retrieve is a list of the values from qualifiers.1.

---

<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:21pm UTC](https://discuss.elastic.co/t/how-to-use-the-java-api-to-retreive-all-values-in-one-item/40177/2 "2017-07-05T23:21:15Z")

</div>

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


