# ElasticSearch JAVA API

**URL:** <https://discuss.elastic.co/t/elasticsearch-java-api/9595>\
**Category:** Elasticsearch\
**Created:** [November 7, 2012, 8:00am UTC](https://discuss.elastic.co/t/elasticsearch-java-api/9595 "2012-11-07T08:00:20Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vinay](https://avatars.discourse-cdn.com/v4/letter/v/6a8cbe/32.png) [@Vinay](https://discuss.elastic.co/u/Vinay)\
**Post date:** [November 7, 2012, 8:00am UTC](https://discuss.elastic.co/t/elasticsearch-java-api/9595/1 "2012-11-07T08:00:20Z")

</div>

Hi,  
I am in doubt choosing between ElasticSearch Java HttpServer  
(org.elasticsearch.http.\*) or other JAVA Servers like Vert.x Java Server?

--

---

<div class="post-metadata">

**Author:** ![Chris\_Male](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chris_male/32/2607_2.png) [@Chris\_Male](https://discuss.elastic.co/u/Chris_Male)\
**Post date:** [November 7, 2012, 10:35am UTC](https://discuss.elastic.co/t/elasticsearch-java-api/9595/2 "2012-11-07T10:35:48Z")

</div>

Are you able to provide more information about what you're looking for? Are  
you wanting to integrate with Elasticsearch via Java?

On Wednesday, November 7, 2012 7:00:20 PM UTC+11, Vinay Gurram wrote:

> Hi,  
> I am in doubt choosing between Elasticsearch Java HttpServer  
> (org.elasticsearch.http.\*) or other JAVA Servers like Vert.x Java Server?

--

---

<div class="post-metadata">

**Author:** ![Vinay](https://avatars.discourse-cdn.com/v4/letter/v/6a8cbe/32.png) [@Vinay](https://discuss.elastic.co/u/Vinay)\
**Post date:** [November 7, 2012, 2:33pm UTC](https://discuss.elastic.co/t/elasticsearch-java-api/9595/3 "2012-11-07T14:33:23Z")

</div>

I am trying to create Java API for Elastic Search to use in our application  
. When trying to connect Elasticsearch with a httpserver, I can choose  
other Java Servers such as Vert.x or Elastic Search httpserver library .  
Elastic Search internally provides an httpserver library in the jar file.  
Which will be best for performance?

On Wednesday, November 7, 2012 1:30:20 PM UTC+5:30, Vinay Gurram wrote:

> Hi,  
> I am in doubt choosing between Elasticsearch Java HttpServer  
> (org.elasticsearch.http.\*) or other JAVA Servers like Vert.x Java Server?

--

---

<div class="post-metadata">

**Author:** ![Chris\_Male](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chris_male/32/2607_2.png) [@Chris\_Male](https://discuss.elastic.co/u/Chris_Male)\
**Post date:** [November 8, 2012, 3:52am UTC](https://discuss.elastic.co/t/elasticsearch-java-api/9595/4 "2012-11-08T03:52:55Z")

</div>

Have you considered Elasticsearch's own Java  
API? [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/java-api/client.html)

On Thursday, November 8, 2012 1:33:23 AM UTC+11, Vinay Gurram wrote:

> I am trying to create Java API for Elastic Search to use in our  
> application . When trying to connect Elasticsearch with a httpserver, I  
> can choose other Java Servers such as Vert.x or Elastic Search httpserver  
> library . Elastic Search internally provides an httpserver library in the  
> jar file. Which will be best for performance?
> 
> On Wednesday, November 7, 2012 1:30:20 PM UTC+5:30, Vinay Gurram wrote:
> 
> > Hi,  
> > I am in doubt choosing between Elasticsearch Java HttpServer  
> > (org.elasticsearch.http.\*) or other JAVA Servers like Vert.x Java Server?

--

---

<div class="post-metadata">

**Author:** ![Vinay](https://avatars.discourse-cdn.com/v4/letter/v/6a8cbe/32.png) [@Vinay](https://discuss.elastic.co/u/Vinay)\
**Post date:** [November 8, 2012, 4:59am UTC](https://discuss.elastic.co/t/elasticsearch-java-api/9595/5 "2012-11-08T04:59:46Z")

</div>

Yes, I use Elastic Search Java API for querying, update and delete  
operations. I want to use Elastic Search as an embedded application, so I  
have to create a web-server that calls Elasticsearch client which do the  
query/update/delete operations. Which web-server should I use?  
Elasticsearch own http-server or other java servers in my case Vert.x. I am  
trying to create a web-server (like "localhost:radomport") that passes url  
like "[http://somename.com/thisquery?param1=someParameter](http://somename.com/thisquery?param1=someParameter)" and from the uri  
I can extract the "/thisquery?param1=something" and use them for searching  
purposes and display the result in the webserever page (  
localhost:radomport ).

On Thursday, November 8, 2012 9:22:55 AM UTC+5:30, Chris Male wrote:

> Have you considered Elasticsearch's own Java API?  
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/java-api/client.html)
> 
> On Thursday, November 8, 2012 1:33:23 AM UTC+11, Vinay Gurram wrote:
> 
> > I am trying to create Java API for Elastic Search to use in our  
> > application . When trying to connect Elasticsearch with a httpserver, I  
> > can choose other Java Servers such as Vert.x or Elastic Search httpserver  
> > library . Elastic Search internally provides an httpserver library in the  
> > jar file. Which will be best for performance?
> > 
> > On Wednesday, November 7, 2012 1:30:20 PM UTC+5:30, Vinay Gurram wrote:
> > 
> > > Hi,  
> > > I am in doubt choosing between Elasticsearch Java HttpServer  
> > > (org.elasticsearch.http.\*) or other JAVA Servers like Vert.x Java Server?

--

---

<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:** [November 8, 2012, 6:09am UTC](https://discuss.elastic.co/t/elasticsearch-java-api/9595/6 "2012-11-08T06:09:28Z")

</div>

Have a look at [http://www.scutmydocs.org/](http://www.scutmydocs.org/) project.  
It's a webapp that runs in a container (tomcat or whatever you want), that exposes its own REST URL and call ES for indexing, searching, ...

Does it help?

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 8 nov. 2012 à 05:59, Vinay Gurram [gvinay06l@gmail.com](mailto:gvinay06l@gmail.com) a écrit :

Yes, I use Elastic Search Java API for querying, update and delete operations. I want to use Elastic Search as an embedded application, so I have to create a web-server that calls Elasticsearch client which do the query/update/delete operations. Which web-server should I use? Elasticsearch own http-server or other java servers in my case Vert.x. I am trying to create a web-server (like "localhost:radomport") that passes url like "[http://somename.com/thisquery?param1=someParameter](http://somename.com/thisquery?param1=someParameter)" and from the uri I can extract the "/thisquery?param1=something" and use them for searching purposes and display the result in the webserever page ( localhost:radomport ).

On Thursday, November 8, 2012 9:22:55 AM UTC+5:30, Chris Male wrote:

> Have you considered Elasticsearch's own Java API? [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/java-api/client.html)
> 
> On Thursday, November 8, 2012 1:33:23 AM UTC+11, Vinay Gurram wrote:
> 
> > I am trying to create Java API for Elastic Search to use in our application . When trying to connect Elasticsearch with a httpserver, I can choose other Java Servers such as Vert.x or Elastic Search httpserver library . Elastic Search internally provides an httpserver library in the jar file. Which will be best for performance?
> > 
> > On Wednesday, November 7, 2012 1:30:20 PM UTC+5:30, Vinay Gurram wrote:
> > 
> > > Hi,  
> > > I am in doubt choosing between Elasticsearch Java HttpServer (org.elasticsearch.http.\*) or other JAVA Servers like Vert.x Java Server?

--

--

---

<div class="post-metadata">

**Author:** ![Vinay](https://avatars.discourse-cdn.com/v4/letter/v/6a8cbe/32.png) [@Vinay](https://discuss.elastic.co/u/Vinay)\
**Post date:** [November 8, 2012, 6:50am UTC](https://discuss.elastic.co/t/elasticsearch-java-api/9595/7 "2012-11-08T06:50:21Z")

</div>

Hi,  
I can't open the link ([http://www.scutmydocs.org](http://www.scutmydocs.org)). Is the link correct?

On Thursday, November 8, 2012 11:39:41 AM UTC+5:30, David Pilato wrote:

> Have a look at [http://www.scutmydocs.org/](http://www.scutmydocs.org/) project.  
> It's a webapp that runs in a container (tomcat or whatever you want), that  
> exposes its own REST URL and call ES for indexing, searching, ...
> 
> Does it help?
> 
> --  
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> Le 8 nov. 2012 à 05:59, Vinay Gurram \<[gvin...@gmail.com](mailto:gvin...@gmail.com) \<javascript:\>\> a  
> écrit :
> 
> Yes, I use Elastic Search Java API for querying, update and delete  
> operations. I want to use Elastic Search as an embedded application, so I  
> have to create a web-server that calls Elasticsearch client which do the  
> query/update/delete operations. Which web-server should I use?  
> Elasticsearch own http-server or other java servers in my case Vert.x. I am  
> trying to create a web-server (like "localhost:radomport") that passes url  
> like "[http://somename.com/thisquery?param1=someParameter](http://somename.com/thisquery?param1=someParameter)" and from the  
> uri I can extract the "/thisquery?param1=something" and use them for  
> searching purposes and display the result in the webserever page (  
> localhost:radomport ).
> 
> On Thursday, November 8, 2012 9:22:55 AM UTC+5:30, Chris Male wrote:
> 
> > Have you considered Elasticsearch's own Java API?  
> > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/java-api/client.html)
> > 
> > On Thursday, November 8, 2012 1:33:23 AM UTC+11, Vinay Gurram wrote:
> > 
> > > I am trying to create Java API for Elastic Search to use in our  
> > > application . When trying to connect Elasticsearch with a httpserver, I  
> > > can choose other Java Servers such as Vert.x or Elastic Search httpserver  
> > > library . Elastic Search internally provides an httpserver library in the  
> > > jar file. Which will be best for performance?
> > > 
> > > On Wednesday, November 7, 2012 1:30:20 PM UTC+5:30, Vinay Gurram wrote:
> > > 
> > > > Hi,  
> > > > I am in doubt choosing between Elasticsearch Java HttpServer  
> > > > (org.elasticsearch.http.\*) or other JAVA Servers like Vert.x Java Server?
> > > > 
> > > > --

--

---

<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:** [November 8, 2012, 7:01am UTC](https://discuss.elastic.co/t/elasticsearch-java-api/9595/8 "2012-11-08T07:01:57Z")

</div>

Sorry. [www.scrutmydocs.org](http://www.scrutmydocs.org) :-/

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 8 nov. 2012 à 07:50, Vinay Gurram [gvinay06l@gmail.com](mailto:gvinay06l@gmail.com) a écrit :

> Hi,  
> I can't open the link ([http://www.scutmydocs.org](http://www.scutmydocs.org)). Is the link correct?
> 
> On Thursday, November 8, 2012 11:39:41 AM UTC+5:30, David Pilato wrote:  
> Have a look at [http://www.scutmydocs.org/](http://www.scutmydocs.org/) project.  
> It's a webapp that runs in a container (tomcat or whatever you want), that exposes its own REST URL and call ES for indexing, searching, ...
> 
> Does it help?
> 
> --  
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> Le 8 nov. 2012 à 05:59, Vinay Gurram [gvin...@gmail.com](mailto:gvin...@gmail.com) a écrit :
> 
> Yes, I use Elastic Search Java API for querying, update and delete operations. I want to use Elastic Search as an embedded application, so I have to create a web-server that calls Elasticsearch client which do the query/update/delete operations. Which web-server should I use? Elasticsearch own http-server or other java servers in my case Vert.x. I am trying to create a web-server (like "localhost:radomport") that passes url like "[http://somename.com/thisquery?param1=someParameter](http://somename.com/thisquery?param1=someParameter)" and from the uri I can extract the "/thisquery?param1=something" and use them for searching purposes and display the result in the webserever page ( localhost:radomport ).
> 
> On Thursday, November 8, 2012 9:22:55 AM UTC+5:30, Chris Male wrote:  
> Have you considered Elasticsearch's own Java API? [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/java-api/client.html)
> 
> On Thursday, November 8, 2012 1:33:23 AM UTC+11, Vinay Gurram wrote:  
> I am trying to create Java API for Elastic Search to use in our application . When trying to connect Elasticsearch with a httpserver, I can choose other Java Servers such as Vert.x or Elastic Search httpserver library . Elastic Search internally provides an httpserver library in the jar file. Which will be best for performance?
> 
> On Wednesday, November 7, 2012 1:30:20 PM UTC+5:30, Vinay Gurram wrote:  
> Hi,  
> I am in doubt choosing between Elasticsearch Java HttpServer (org.elasticsearch.http.\*) or other JAVA Servers like Vert.x Java Server?
> 
> --
> 
> --

--

---

<div class="post-metadata">

**Author:** ![Vinay](https://avatars.discourse-cdn.com/v4/letter/v/6a8cbe/32.png) [@Vinay](https://discuss.elastic.co/u/Vinay)\
**Post date:** [November 8, 2012, 9:31am UTC](https://discuss.elastic.co/t/elasticsearch-java-api/9595/9 "2012-11-08T09:31:07Z")

</div>

Thank you for the help. It's very useful.

On Thursday, November 8, 2012 12:33:53 PM UTC+5:30, David Pilato wrote:

> Sorry. [www.scrutmydocs.org](http://www.scrutmydocs.org) :-/
> 
> --  
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> Le 8 nov. 2012 à 07:50, Vinay Gurram \<[gvin...@gmail.com](mailto:gvin...@gmail.com) \<javascript:\>\> a  
> écrit :
> 
> Hi,  
> I can't open the link ([http://www.scutmydocs.org](http://www.scutmydocs.org)). Is the link correct?
> 
> On Thursday, November 8, 2012 11:39:41 AM UTC+5:30, David Pilato wrote:
> 
> > Have a look at [http://www.scutmydocs.org/](http://www.scutmydocs.org/) project.  
> > It's a webapp that runs in a container (tomcat or whatever you want),  
> > that exposes its own REST URL and call ES for indexing, searching, ...
> > 
> > Does it help?
> > 
> > --  
> > David 😉  
> > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > 
> > Le 8 nov. 2012 à 05:59, Vinay Gurram [gvin...@gmail.com](mailto:gvin...@gmail.com) a écrit :
> > 
> > Yes, I use Elastic Search Java API for querying, update and delete  
> > operations. I want to use Elastic Search as an embedded application, so I  
> > have to create a web-server that calls Elasticsearch client which do the  
> > query/update/delete operations. Which web-server should I use?  
> > Elasticsearch own http-server or other java servers in my case Vert.x. I am  
> > trying to create a web-server (like "localhost:radomport") that passes url  
> > like "[http://somename.com/thisquery?param1=someParameter](http://somename.com/thisquery?param1=someParameter)" and from the  
> > uri I can extract the "/thisquery?param1=something" and use them for  
> > searching purposes and display the result in the webserever page (  
> > localhost:radomport ).
> > 
> > On Thursday, November 8, 2012 9:22:55 AM UTC+5:30, Chris Male wrote:
> > 
> > > Have you considered Elasticsearch's own Java API?  
> > > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/java-api/client.html)
> > > 
> > > On Thursday, November 8, 2012 1:33:23 AM UTC+11, Vinay Gurram wrote:
> > > 
> > > > I am trying to create Java API for Elastic Search to use in our  
> > > > application . When trying to connect Elasticsearch with a httpserver, I  
> > > > can choose other Java Servers such as Vert.x or Elastic Search httpserver  
> > > > library . Elastic Search internally provides an httpserver library in the  
> > > > jar file. Which will be best for performance?
> > > > 
> > > > On Wednesday, November 7, 2012 1:30:20 PM UTC+5:30, Vinay Gurram wrote:
> > > > 
> > > > > Hi,  
> > > > > I am in doubt choosing between Elasticsearch Java HttpServer  
> > > > > (org.elasticsearch.http.\*) or other JAVA Servers like Vert.x Java Server?
> > > > > 
> > > > > --
> 
> --

--

---

<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:05am UTC](https://discuss.elastic.co/t/elasticsearch-java-api/9595/10 "2017-07-06T03:05:29Z")

</div>


