# Java - build query due to the many fields

**URL:** <https://discuss.elastic.co/t/java-build-query-due-to-the-many-fields/116493>\
**Category:** Elasticsearch\
**Created:** [January 22, 2018, 2:19pm UTC](https://discuss.elastic.co/t/java-build-query-due-to-the-many-fields/116493 "2018-01-22T14:19:19Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [January 23, 2018, 9:30am UTC](https://discuss.elastic.co/t/java-build-query-due-to-the-many-fields/116493/10 "2018-01-23T09:30:11Z")

</div>

I can't reproduce with that. Please read carefully [About the Elasticsearch category](https://discuss.elastic.co/t/about-the-elasticsearch-category/21). There is an example of what is a recreation script.  
Here I can't just copy and paste and run.

BTW there is a typo here:

```auto
      ],

```

---

_[View the full topic](https://discuss.elastic.co/t/java-build-query-due-to-the-many-fields/116493)._
