# Problem with Fields in search requests

**URL:** <https://discuss.elastic.co/t/problem-with-fields-in-search-requests/4318>\
**Category:** Elasticsearch\
**Created:** [April 29, 2011, 3:31pm UTC](https://discuss.elastic.co/t/problem-with-fields-in-search-requests/4318 "2011-04-29T15:31:35Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mustafa\_Sener](https://avatars.discourse-cdn.com/v4/letter/m/ed8c4c/32.png) [@Mustafa\_Sener](https://discuss.elastic.co/u/Mustafa_Sener)\
**Post date:** [April 29, 2011, 3:31pm UTC](https://discuss.elastic.co/t/problem-with-fields-in-search-requests/4318/1 "2011-04-29T15:31:35Z")

</div>

Hi,  
_I have following type mapping_  
XContentBuilder builder = XContentFactory.jsonBuilder();

```
   builder.startObject().
            startObject("optimizedmetric1").
            startObject("_all").field("enabled", false).endObject().
            startObject("_source").field("enabled", false).endObject().
            startObject("_index").field("enabled", false).endObject().
            startObject("properties").
            startObject("object").
            field("type", "string").
            field("store", "yes").
            field("index", "not_analyzed").
            field("omit_norms", true).
            endObject().

            startObject("metric").
            field("type", "string").
            field("store", "yes").
            field("index", "not_analyzed").
            field("omit_norms", true).
            endObject().

            startObject("value").
            field("type", "double").
            field("store", "yes").
            field("index", "not_analyzed").
            field("omit_norms", true).
            endObject().

            startObject("timestamp").
            field("type", "long").
            field("store", "yes").
            field("index", "not_analyzed").
            field("omit_norms", true).
            endObject().

            startObject("standartdev").
            field("type", "double").
            field("store", "yes").
            field("index", "not_analyzed").
            field("omit_norms", true).
            endObject().

            endObject().
            endObject().
            endObject();

```

- 

After inserting some documents, I tried to search and get fields of inserted  
objects using following CURL request\*

curl -XGET '[http://host](http://host):port/performance/optimizedmetric1/\_search' -d '  
{  
"fields" : ["object"],  
"query" : {  
"match\_all":{}  
}  
}'

_It returns following result:_

{"took":0,"timed\_out":false,"\_shards":{"total":5,"successful":5,"failed":0},"hits":{"total":10000,"max\_score":1.0,"hits":[{"\_index":"performance","\_type":"optimizedmetric1","\_id":"grfsll6yruqlxkojlydjrg","\_score":1.0},{"\_index":"performance","\_type":"optimizedmetric1","\_id":"p11wzy33teq9h6zcmbooka","\_score":1.0},{"\_index":"performance","\_type":"optimizedmetric1","\_id":"vfjf8he-soqnvxemmkgira","\_score":1.0},{"\_index":"performance","\_type":"optimizedmetric1","\_id":"p1wda31dtqyjgbagscxilw","\_score":1.0},{"\_index":"performance","\_type":"optimizedmetric1","\_id":"oyahsw7cs4iuf2efcp\_g6g","\_score":1.0},{"\_index":"performance","\_type":"optimizedmetric1","\_id":"db0y-k0yqg6qntbfrt1qvg","\_score":1.0},{"\_index":"performance","\_type":"optimizedmetric1","\_id":"-i5vmsptrfsze81stswoxq","\_score":1.0},{"\_index":"performance","\_type":"optimizedmetric1","\_id":"1ciy9u95tzetb9snee-\_ya","\_score":1.0},{"\_index":"performance","\_type":"optimizedmetric1","\_id":"rwrkklo2syofeuvhwmy0lg","\_score":1.0},{"\_index":"performance","\_type":"optimizedmetric1","\_id":"s8amnskbrzkkk8oxgyv38g","\_score":1.0}]}}

_I expected to see object field but results does not include it._ _is this  
normal?_

--  
Mustafa Sener  
[www.ifountain.com](http://www.ifountain.com)

---

<div class="post-metadata">

**Author:** ![Mustafa\_Sener](https://avatars.discourse-cdn.com/v4/letter/m/ed8c4c/32.png) [@Mustafa\_Sener](https://discuss.elastic.co/u/Mustafa_Sener)\
**Post date:** [April 29, 2011, 3:52pm UTC](https://discuss.elastic.co/t/problem-with-fields-in-search-requests/4318/2 "2011-04-29T15:52:50Z")

</div>

I am using version v0.16.0

On Fri, Apr 29, 2011 at 6:31 PM, Mustafa Sener [mustafa.sener@gmail.com](mailto:mustafa.sener@gmail.com)wrote:

> Hi,  
> _I have following type mapping_  
> XContentBuilder builder = XContentFactory.jsonBuilder();
> 
> ```
> builder.startObject().
> startObject("optimizedmetric1").
> startObject("_all").field("enabled", false).endObject().
> startObject("_source").field("enabled", false).endObject().
> startObject("_index").field("enabled", false).endObject().
> startObject("properties").
> startObject("object").
> field("type", "string").
> field("store", "yes").
> field("index", "not_analyzed").
> field("omit_norms", true).
> endObject().
> 
> startObject("metric").
> field("type", "string").
> field("store", "yes").
> field("index", "not_analyzed").
> field("omit_norms", true).
> endObject().
> 
> startObject("value").
> field("type", "double").
> field("store", "yes").
> field("index", "not_analyzed").
> field("omit_norms", true).
> endObject().
> 
> startObject("timestamp").
> field("type", "long").
> field("store", "yes").
> field("index", "not_analyzed").
> field("omit_norms", true).
> endObject().
> 
> startObject("standartdev").
> field("type", "double").
> field("store", "yes").
> field("index", "not_analyzed").
> field("omit_norms", true).
> endObject().
> 
> endObject().
> endObject().
> endObject();
> 
> ```
> 
> - 
> 
> After inserting some documents, I tried to search and get fields of  
> inserted objects using following CURL request\*
> 
> curl -XGET '[http://host](http://host):port/performance/optimizedmetric1/\_search' -d '  
> {  
> "fields" : ["object"],  
> "query" : {  
> "match\_all":{}  
> }  
> }'
> 
> _It returns following result:_
> 
> {"took":0,"timed\_out":false,"\_shards":{"total":5,"successful":5,"failed":0},"hits":{"total":10000,"max\_score":1.0,"hits":[{"\_index":"performance","\_type":"optimizedmetric1","\_id":"grfsll6yruqlxkojlydjrg","\_score":1.0},{"\_index":"performance","\_type":"optimizedmetric1","\_id":"p11wzy33teq9h6zcmbooka","\_score":1.0},{"\_index":"performance","\_type":"optimizedmetric1","\_id":"vfjf8he-soqnvxemmkgira","\_score":1.0},{"\_index":"performance","\_type":"optimizedmetric1","\_id":"p1wda31dtqyjgbagscxilw","\_score":1.0},{"\_index":"performance","\_type":"optimizedmetric1","\_id":"oyahsw7cs4iuf2efcp\_g6g","\_score":1.0},{"\_index":"performance","\_type":"optimizedmetric1","\_id":"db0y-k0yqg6qntbfrt1qvg","\_score":1.0},{"\_index":"performance","\_type":"optimizedmetric1","\_id":"-i5vmsptrfsze81stswoxq","\_score":1.0},{"\_index":"performance","\_type":"optimizedmetric1","\_id":"1ciy9u95tzetb9snee-\_ya","\_score":1.0},{"\_index":"performance","\_type":"optimizedmetric1","\_id":"rwrkklo2syofeuvhwmy0lg","\_score":1.0},{"\_index":"performance","\_type":"optimizedmetric1","\_id":"s8amnskbrzkkk8oxgyv38g","\_score":1.0}]}}
> 
> _I expected to see object field but results does not include it._ _is this  
> normal?_
> 
> --  
> Mustafa Sener  
> [www.ifountain.com](http://www.ifountain.com)

--  
Mustafa Sener  
[www.ifountain.com](http://www.ifountain.com)  
WebRep  
Overall rating

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [April 29, 2011, 4:17pm UTC](https://discuss.elastic.co/t/problem-with-fields-in-search-requests/4318/3 "2011-04-29T16:17:01Z")

</div>

Can you try and do \_source.object and see if it works? Also, if it does not work, can you gist the code that inserts a sample doc?  
On Friday, April 29, 2011 at 6:52 PM, Mustafa Sener wrote:

> I am using version v0.16.0
> 
> On Fri, Apr 29, 2011 at 6:31 PM, Mustafa Sener [mustafa.sener@gmail.com](mailto:mustafa.sener@gmail.com) wrote:
> 
> > Hi,  
> > I have following type mapping  
> > XContentBuilder builder = XContentFactory.jsonBuilder();
> > 
> > builder.startObject().  
> > startObject("optimizedmetric1").  
> > startObject("\_all").field("enabled", false).endObject().  
> > startObject("\_source").field("enabled", false).endObject().  
> > startObject("\_index").field("enabled", false).endObject().  
> > startObject("properties").  
> > startObject("object").  
> > field("type", "string").  
> > field("store", "yes").  
> > field("index", "not\_analyzed").  
> > field("omit\_norms", true).  
> > endObject().
> > 
> > startObject("metric").  
> > field("type", "string").  
> > field("store", "yes").  
> > field("index", "not\_analyzed").  
> > field("omit\_norms", true).  
> > endObject().
> > 
> > startObject("value").  
> > field("type", "double").  
> > field("store", "yes").  
> > field("index", "not\_analyzed").  
> > field("omit\_norms", true).  
> > endObject().
> > 
> > startObject("timestamp").  
> > field("type", "long").  
> > field("store", "yes").  
> > field("index", "not\_analyzed").  
> > field("omit\_norms", true).  
> > endObject().
> > 
> > startObject("standartdev").  
> > field("type", "double").  
> > field("store", "yes").  
> > field("index", "not\_analyzed").  
> > field("omit\_norms", true).  
> > endObject().
> > 
> > endObject().  
> > endObject().  
> > endObject();
> > 
> > After inserting some documents, I tried to search and get fields of inserted objects using following CURL request
> > 
> > curl -XGET '[http://host](http://host):port/performance/optimizedmetric1/\_search' -d '  
> > {  
> > "fields" : ["object"],  
> > "query" : {  
> > "match\_all":{}  
> > }  
> > }'
> > 
> > It returns following result:
> > 
> > {"took":0,"timed\_out":false,"\_shards":{"total":5,"successful":5,"failed":0},"hits":{"total":10000,"max\_score":1.0,"hits":[{"\_index":"performance","\_type":"optimizedmetric1","\_id":"grfsll6yruqlxkojlydjrg","\_score":1.0},{"\_index":"performance","\_type":"optimizedmetric1","\_id":"p11wzy33teq9h6zcmbooka","\_score":1.0},{"\_index":"performance","\_type":"optimizedmetric1","\_id":"vfjf8he-soqnvxemmkgira","\_score":1.0},{"\_index":"performance","\_type":"optimizedmetric1","\_id":"p1wda31dtqyjgbagscxilw","\_score":1.0},{"\_index":"performance","\_type":"optimizedmetric1","\_id":"oyahsw7cs4iuf2efcp\_g6g","\_score":1.0},{"\_index":"performance","\_type":"optimizedmetric1","\_id":"db0y-k0yqg6qntbfrt1qvg","\_score":1.0},{"\_index":"performance","\_type":"optimizedmetric1","\_id":"-i5vmsptrfsze81stswoxq","\_score":1.0},{"\_index":"performance","\_type":"optimizedmetric1","\_id":"1ciy9u95tzetb9snee-\_ya","\_score":1.0},{"\_index":"performance","\_type":"optimizedmetric1","\_id":"rwrkklo2syofeuvhwmy0lg","\_score":1.0},{"\_index  
> > ":"performance","\_type":"optimizedmetric1","\_id":"s8amnskbrzkkk8oxgyv38g","\_score":1.0}]}}
> > 
> > I expected to see object field but results does not include it. is this normal?
> > 
> > --  
> > Mustafa Sener  
> > [www.ifountain.com](http://www.ifountain.com)
> 
> --  
> Mustafa Sener  
> [www.ifountain.com](http://www.ifountain.com)  
> WebRep
> 
> Overall rating

---

<div class="post-metadata">

**Author:** ![Clinton\_Gormley](https://avatars.discourse-cdn.com/v4/letter/c/50afbb/32.png) [@Clinton\_Gormley](https://discuss.elastic.co/u/Clinton_Gormley)\
**Post date:** [April 29, 2011, 4:18pm UTC](https://discuss.elastic.co/t/problem-with-fields-in-search-requests/4318/4 "2011-04-29T16:18:49Z")

</div>

Hi Mustafa

> After inserting some documents, I tried to search and get fields of  
> inserted objects using following CURL request
> 
> curl -XGET '[http://host](http://host):port/performance/optimizedmetric1/\_search' -d  
> '  
> {  
> "fields" : ["object"],  
> "query" : {  
> "match\_all":{}  
> }  
> }'

Objects are not storable.

If you want to return the object, then you should enable the \_source  
field and request the "\_source.object" field

curl -XPUT '[http://127.0.0.1:9200/foo/?pretty=1](http://127.0.0.1:9200/foo/?pretty=1)' -d '  
{  
"mappings" : {  
"bar" : {  
"properties" : {  
"object" : {  
"type" : "object",  
"properties" : {  
"text" : {  
"type" : "string"  
}  
}  
}  
}  
}  
}  
}  
'

curl -XPOST '[http://127.0.0.1:9200/foo/bar?pretty=1](http://127.0.0.1:9200/foo/bar?pretty=1)' -d '  
{  
"object" : {  
"text" : "bar"  
}  
}  
'

curl -XGET '[http://127.0.0.1:9200/foo/\_search?pretty=1](http://127.0.0.1:9200/foo/_search?pretty=1)' -d '  
{  
"fields" : "\_source.object"  
}  
'

# [Fri Apr 29 18:18:03 2011] Response:

# {

# "hits" : {

# "hits" : [

# {

# "\_score" : 1,

# "fields" : {

# "\_source.object" : {

# "text" : "bar"

# }

# },

# "\_index" : "foo",

# "\_id" : "uuSPXe96QJaX\_OxJud\_VwQ",

# "\_type" : "bar"

# }

# ],

# "max\_score" : 1,

# "total" : 1

# },

# "timed\_out" : false,

# "\_shards" : {

# "failed" : 0,

# "successful" : 5,

# "total" : 5

# },

# "took" : 1

# }

---

<div class="post-metadata">

**Author:** ![Clinton\_Gormley](https://avatars.discourse-cdn.com/v4/letter/c/50afbb/32.png) [@Clinton\_Gormley](https://discuss.elastic.co/u/Clinton_Gormley)\
**Post date:** [April 29, 2011, 4:20pm UTC](https://discuss.elastic.co/t/problem-with-fields-in-search-requests/4318/5 "2011-04-29T16:20:20Z")

</div>

On Fri, 2011-04-29 at 19:17 +0300, Shay Banon wrote:

> Can you try and do \_source.object and see if it works? Also, if it  
> does not work, can you gist the code that inserts a sample doc?

He has \_source disabled:

> startObject("\_source").field("enabled",false).endObject().

---

<div class="post-metadata">

**Author:** ![Mustafa\_Sener](https://avatars.discourse-cdn.com/v4/letter/m/ed8c4c/32.png) [@Mustafa\_Sener](https://discuss.elastic.co/u/Mustafa_Sener)\
**Post date:** [April 29, 2011, 4:21pm UTC](https://discuss.elastic.co/t/problem-with-fields-in-search-requests/4318/6 "2011-04-29T16:21:42Z")

</div>

The type of object property is string as you can see from mappings. It is  
not Object type.

On Fri, Apr 29, 2011 at 7:18 PM, Clinton Gormley [clinton@iannounce.co.uk](mailto:clinton@iannounce.co.uk)wrote:

> Hi Mustafa
> 
> > After inserting some documents, I tried to search and get fields of  
> > inserted objects using following CURL request
> > 
> > curl -XGET '[http://host](http://host):port/performance/optimizedmetric1/\_search' -d  
> > '  
> > {  
> > "fields" : ["object"],  
> > "query" : {  
> > "match\_all":{}  
> > }  
> > }'
> 
> Objects are not storable.
> 
> If you want to return the object, then you should enable the \_source  
> field and request the "\_source.object" field
> 
> curl -XPUT '[http://127.0.0.1:9200/foo/?pretty=1](http://127.0.0.1:9200/foo/?pretty=1)' -d '  
> {  
> "mappings" : {  
> "bar" : {  
> "properties" : {  
> "object" : {  
> "type" : "object",  
> "properties" : {  
> "text" : {  
> "type" : "string"  
> }  
> }  
> }  
> }  
> }  
> }  
> }  
> '
> 
> curl -XPOST '[http://127.0.0.1:9200/foo/bar?pretty=1](http://127.0.0.1:9200/foo/bar?pretty=1)' -d '  
> {  
> "object" : {  
> "text" : "bar"  
> }  
> }  
> '
> 
> curl -XGET '[http://127.0.0.1:9200/foo/\_search?pretty=1](http://127.0.0.1:9200/foo/_search?pretty=1)' -d '  
> {  
> "fields" : "\_source.object"  
> }  
> '
> 
> # [Fri Apr 29 18:18:03 2011] Response:
> 
> # {
> 
> # "hits" : {
> 
> # "hits" : [
> 
> # {
> 
> # "\_score" : 1,
> 
> # "fields" : {
> 
> # "\_source.object" : {
> 
> # "text" : "bar"
> 
> # }
> 
> # },
> 
> # "\_index" : "foo",
> 
> # "\_id" : "uuSPXe96QJaX\_OxJud\_VwQ",
> 
> # "\_type" : "bar"
> 
> # }
> 
> # ],
> 
> # "max\_score" : 1,
> 
> # "total" : 1
> 
> # },
> 
> # "timed\_out" : false,
> 
> # "\_shards" : {
> 
> # "failed" : 0,
> 
> # "successful" : 5,
> 
> # "total" : 5
> 
> # },
> 
> # "took" : 1
> 
> # }

--  
Mustafa Sener  
[www.ifountain.com](http://www.ifountain.com)  
WebRep  
Overall rating

---

<div class="post-metadata">

**Author:** ![Mustafa\_Sener](https://avatars.discourse-cdn.com/v4/letter/m/ed8c4c/32.png) [@Mustafa\_Sener](https://discuss.elastic.co/u/Mustafa_Sener)\
**Post date:** [April 29, 2011, 4:23pm UTC](https://discuss.elastic.co/t/problem-with-fields-in-search-requests/4318/7 "2011-04-29T16:23:19Z")

</div>

In my code source is disabled. I just want to store and search fields and  
want to make some tests with this configuration.

On Fri, Apr 29, 2011 at 7:21 PM, Mustafa Sener [mustafa.sener@gmail.com](mailto:mustafa.sener@gmail.com)wrote:

> The type of object property is string as you can see from mappings. It is  
> not Object type.
> 
> On Fri, Apr 29, 2011 at 7:18 PM, Clinton Gormley [clinton@iannounce.co.uk](mailto:clinton@iannounce.co.uk)wrote:
> 
> > Hi Mustafa
> > 
> > > After inserting some documents, I tried to search and get fields of  
> > > inserted objects using following CURL request
> > > 
> > > curl -XGET '[http://host](http://host):port/performance/optimizedmetric1/\_search' -d  
> > > '  
> > > {  
> > > "fields" : ["object"],  
> > > "query" : {  
> > > "match\_all":{}  
> > > }  
> > > }'
> > 
> > Objects are not storable.
> > 
> > If you want to return the object, then you should enable the \_source  
> > field and request the "\_source.object" field
> > 
> > curl -XPUT '[http://127.0.0.1:9200/foo/?pretty=1](http://127.0.0.1:9200/foo/?pretty=1)' -d '  
> > {  
> > "mappings" : {  
> > "bar" : {  
> > "properties" : {  
> > "object" : {  
> > "type" : "object",  
> > "properties" : {  
> > "text" : {  
> > "type" : "string"  
> > }  
> > }  
> > }  
> > }  
> > }  
> > }  
> > }  
> > '
> > 
> > curl -XPOST '[http://127.0.0.1:9200/foo/bar?pretty=1](http://127.0.0.1:9200/foo/bar?pretty=1)' -d '  
> > {  
> > "object" : {  
> > "text" : "bar"  
> > }  
> > }  
> > '
> > 
> > curl -XGET '[http://127.0.0.1:9200/foo/\_search?pretty=1](http://127.0.0.1:9200/foo/_search?pretty=1)' -d '  
> > {  
> > "fields" : "\_source.object"  
> > }  
> > '
> > 
> > # [Fri Apr 29 18:18:03 2011] Response:
> > 
> > # {
> > 
> > # "hits" : {
> > 
> > # "hits" : [
> > 
> > # {
> > 
> > # "\_score" : 1,
> > 
> > # "fields" : {
> > 
> > # "\_source.object" : {
> > 
> > # "text" : "bar"
> > 
> > # }
> > 
> > # },
> > 
> > # "\_index" : "foo",
> > 
> > # "\_id" : "uuSPXe96QJaX\_OxJud\_VwQ",
> > 
> > # "\_type" : "bar"
> > 
> > # }
> > 
> > # ],
> > 
> > # "max\_score" : 1,
> > 
> > # "total" : 1
> > 
> > # },
> > 
> > # "timed\_out" : false,
> > 
> > # "\_shards" : {
> > 
> > # "failed" : 0,
> > 
> > # "successful" : 5,
> > 
> > # "total" : 5
> > 
> > # },
> > 
> > # "took" : 1
> > 
> > # }
> 
> --  
> Mustafa Sener  
> [www.ifountain.com](http://www.ifountain.com)  
> WebRep  
> Overall rating

--  
Mustafa Sener  
[www.ifountain.com](http://www.ifountain.com)  
WebRep  
Overall rating

---

<div class="post-metadata">

**Author:** ![Clinton\_Gormley](https://avatars.discourse-cdn.com/v4/letter/c/50afbb/32.png) [@Clinton\_Gormley](https://discuss.elastic.co/u/Clinton_Gormley)\
**Post date:** [April 29, 2011, 4:24pm UTC](https://discuss.elastic.co/t/problem-with-fields-in-search-requests/4318/8 "2011-04-29T16:24:27Z")

</div>

On Fri, 2011-04-29 at 19:21 +0300, Mustafa Sener wrote:

> The type of object property is string as you can see from mappings. It  
> is not Object type.

Oh sorry - I'm not used to reading the Java API

clint

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [April 29, 2011, 8:45pm UTC](https://discuss.elastic.co/t/problem-with-fields-in-search-requests/4318/9 "2011-04-29T20:45:36Z")

</div>

Heya, I missed the part where the object is a field and is stored. You should get it back. Can you create a simple test case to recreate it (would be simplest) with data being inserted?  
On Friday, April 29, 2011 at 7:24 PM, Clinton Gormley wrote:

> On Fri, 2011-04-29 at 19:21 +0300, Mustafa Sener wrote:
> 
> > The type of object property is string as you can see from mappings. It  
> > is not Object type.
> 
> Oh sorry - I'm not used to reading the Java API
> 
> clint

---

<div class="post-metadata">

**Author:** ![Mustafa\_Sener](https://avatars.discourse-cdn.com/v4/letter/m/ed8c4c/32.png) [@Mustafa\_Sener](https://discuss.elastic.co/u/Mustafa_Sener)\
**Post date:** [April 30, 2011, 8:37am UTC](https://discuss.elastic.co/t/problem-with-fields-in-search-requests/4318/10 "2011-04-30T08:37:14Z")

</div>

Hi,  
I could not recreate it with simple data insertion. I will investigate this  
problem in our environment and return back if same problem continues.

On Fri, Apr 29, 2011 at 11:45 PM, Shay Banon  
[shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)wrote:

> Heya, I missed the part where the object is a field and is stored. You  
> should get it back. Can you create a simple test case to recreate it (would  
> be simplest) with data being inserted?
> 
> On Friday, April 29, 2011 at 7:24 PM, Clinton Gormley wrote:
> 
> On Fri, 2011-04-29 at 19:21 +0300, Mustafa Sener wrote:
> 
> The type of object property is string as you can see from mappings. It  
> is not Object type.
> 
> Oh sorry - I'm not used to reading the Java API
> 
> clint

--  
Mustafa Sener  
[www.ifountain.com](http://www.ifountain.com)  
WebRep  
Overall rating

---

<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, 4:07am UTC](https://discuss.elastic.co/t/problem-with-fields-in-search-requests/4318/11 "2017-07-06T04:07:18Z")

</div>


