# Failing to connect my java class with Elastic Search Using API

**URL:** <https://discuss.elastic.co/t/failing-to-connect-my-java-class-with-elastic-search-using-api/230428>\
**Category:** Elasticsearch\
**Created:** [April 29, 2020, 7:34pm UTC](https://discuss.elastic.co/t/failing-to-connect-my-java-class-with-elastic-search-using-api/230428 "2020-04-29T19:34:05Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [April 30, 2020, 8:37am UTC](https://discuss.elastic.co/t/failing-to-connect-my-java-class-with-elastic-search-using-api/230428/2 "2020-04-30T08:37:28Z")

</div>

I think it's the same question as in [How to convert and use an API query into equivalent SQL query in a java class](https://discuss.elastic.co/t/how-to-convert-and-use-an-api-query-into-equivalent-sql-query-in-a-java-class/230026)

Please be patient in waiting for responses to your question and refrain from pinging multiple times asking for a response or opening multiple topics for the same question. This is a community forum, it may take time for someone to reply to your question. For more information please refer to the [Community Code of Conduct](https://www.elastic.co/community/codeofconduct) specifically the section "Be patient". Also, please refrain from pinging folks directly, this is a forum and anyone that participates might be able to assist you.

If you are in need of a service with an SLA that covers response times for questions then you may want to consider talking to us about a [subscription](https://www.elastic.co/subscriptions).

It's fine to answer on your own thread after 2 or 3 days (not including weekends) if you don't have an answer.

---

_[View the full topic](https://discuss.elastic.co/t/failing-to-connect-my-java-class-with-elastic-search-using-api/230428)._
