Servlet in ES server

Is there a way to deploy servlet in Elastic search netty server?

You can create a plugin and add your own REST endpoint. Is it what you are looking for?

HTH

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

Le 12 mai 2013 à 11:30, Chetana ambha.career@gmail.com a écrit :

Is there a way to deploy servlet in Elastic search netty server?

--
View this message in context: http://elasticsearch-users.115913.n3.nabble.com/servlet-in-ES-server-tp4034683.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

yes. Could you please tell me where should I mention REST endpoint?

Do I need to do transformation between httpservletrequest/response to REST
message?

Thanks

On Sunday, May 12, 2013 3:24:20 PM UTC+5:30, David Pilato wrote:

You can create a plugin and add your own REST endpoint. Is it what you are
looking for?

HTH

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

Le 12 mai 2013 à 11:30, Chetana <ambha....@gmail.com <javascript:>> a
écrit :

Is there a way to deploy servlet in Elastic search netty server?

--
View this message in context:
http://elasticsearch-users.115913.n3.nabble.com/servlet-in-ES-server-tp4034683.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.

--
You received this message because you are subscribed to the Google
Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to elasticsearc...@googlegroups.com <javascript:>.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Here is an example of what I did for dropbox river module:

HTH

David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 13 mai 2013 à 04:57, Chetana ambha.career@gmail.com a écrit :

yes. Could you please tell me where should I mention REST endpoint?

Do I need to do transformation between httpservletrequest/response to REST message?

Thanks

On Sunday, May 12, 2013 3:24:20 PM UTC+5:30, David Pilato wrote:

You can create a plugin and add your own REST endpoint. Is it what you are looking for?

HTH

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

Le 12 mai 2013 à 11:30, Chetana ambha....@gmail.com a écrit :

Is there a way to deploy servlet in Elastic search netty server?

--
View this message in context: http://elasticsearch-users.115913.n3.nabble.com/servlet-in-ES-server-tp4034683.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearc...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Thanks for the reply.

Since REST adds a level of overhead compare to plain http call. I would
like to use simple http enabled mechanism instead of REST. I also dont want
to use one more web server between ES and client. Does ES allow deploying
servlet or some http enabled artifact and allow client to make simple http
call to ES?

One more question I have is, does ES support good connection pooling so
that multiple clients can access at the same time

Thanks

On Monday, May 13, 2013 10:27:32 AM UTC+5:30, David Pilato wrote:

Here is an example of what I did for dropbox river module:

https://github.com/dadoonet/dropbox/blob/master/src/main/java/fr/pilato/elasticsearch/river/dropbox/plugin/DropboxRiverPlugin.java#L52

HTH

David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 13 mai 2013 à 04:57, Chetana <ambha....@gmail.com <javascript:>> a
écrit :

yes. Could you please tell me where should I mention REST endpoint?

Do I need to do transformation between httpservletrequest/response to REST
message?

Thanks

On Sunday, May 12, 2013 3:24:20 PM UTC+5:30, David Pilato wrote:

You can create a plugin and add your own REST endpoint. Is it what you
are looking for?

HTH

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

Le 12 mai 2013 à 11:30, Chetana ambha....@gmail.com a écrit :

Is there a way to deploy servlet in Elastic search netty server?

--
View this message in context:
http://elasticsearch-users.115913.n3.nabble.com/servlet-in-ES-server-tp4034683.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.

--
You received this message because you are subscribed to the Google
Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to elasticsearc...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearc...@googlegroups.com <javascript:>.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

What are you trying to achieve?
Why do you need to add a servlet?

About multiple clients, yes Elasticsearch handles that very well and scales out if you need more and more power.

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

Le 14 mai 2013 à 05:08, Chetana ambha.career@gmail.com a écrit :

Thanks for the reply.

Since REST adds a level of overhead compare to plain http call. I would like to use simple http enabled mechanism instead of REST. I also dont want to use one more web server between ES and client. Does ES allow deploying servlet or some http enabled artifact and allow client to make simple http call to ES?

One more question I have is, does ES support good connection pooling so that multiple clients can access at the same time

Thanks

On Monday, May 13, 2013 10:27:32 AM UTC+5:30, David Pilato wrote:

Here is an example of what I did for dropbox river module:
https://github.com/dadoonet/dropbox/blob/master/src/main/java/fr/pilato/elasticsearch/river/dropbox/plugin/DropboxRiverPlugin.java#L52

HTH

David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 13 mai 2013 à 04:57, Chetana ambha....@gmail.com a écrit :

yes. Could you please tell me where should I mention REST endpoint?

Do I need to do transformation between httpservletrequest/response to REST message?

Thanks

On Sunday, May 12, 2013 3:24:20 PM UTC+5:30, David Pilato wrote:

You can create a plugin and add your own REST endpoint. Is it what you are looking for?

HTH

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

Le 12 mai 2013 à 11:30, Chetana ambha....@gmail.com a écrit :

Is there a way to deploy servlet in Elastic search netty server?

--
View this message in context: http://elasticsearch-users.115913.n3.nabble.com/servlet-in-ES-server-tp4034683.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearc...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearc...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

I have a simple tranformer writter which makes actual ES action
(add,delete,search,update) calls. I want that transformer interface to be
accessible to the client. I wanted some means of communication other than
REST* if possible* on ES. I could see NettyHttpChannel, so thinking whether
I can make use of it

Thanks

On Tuesday, May 14, 2013 10:37:55 AM UTC+5:30, David Pilato wrote:

What are you trying to achieve?
Why do you need to add a servlet?

About multiple clients, yes Elasticsearch handles that very well and
scales out if you need more and more power.

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

Le 14 mai 2013 à 05:08, Chetana <ambha....@gmail.com <javascript:>> a
écrit :

Thanks for the reply.

Since REST adds a level of overhead compare to plain http call. I would
like to use simple http enabled mechanism instead of REST. I also dont want
to use one more web server between ES and client. Does ES allow deploying
servlet or some http enabled artifact and allow client to make simple http
call to ES?

One more question I have is, does ES support good connection pooling so
that multiple clients can access at the same time

Thanks

On Monday, May 13, 2013 10:27:32 AM UTC+5:30, David Pilato wrote:

Here is an example of what I did for dropbox river module:

https://github.com/dadoonet/dropbox/blob/master/src/main/java/fr/pilato/elasticsearch/river/dropbox/plugin/DropboxRiverPlugin.java#L52

HTH

David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 13 mai 2013 à 04:57, Chetana ambha....@gmail.com a écrit :

yes. Could you please tell me where should I mention REST endpoint?

Do I need to do transformation between httpservletrequest/response to
REST message?

Thanks

On Sunday, May 12, 2013 3:24:20 PM UTC+5:30, David Pilato wrote:

You can create a plugin and add your own REST endpoint. Is it what you
are looking for?

HTH

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

Le 12 mai 2013 à 11:30, Chetana ambha....@gmail.com a écrit :

Is there a way to deploy servlet in Elastic search netty server?

--
View this message in context:
http://elasticsearch-users.115913.n3.nabble.com/servlet-in-ES-server-tp4034683.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.

--
You received this message because you are subscribed to the Google
Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to elasticsearc...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearc...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearc...@googlegroups.com <javascript:>.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

And what is your concern with the standard REST API?
Why do you need to rewrite it?

My guess is that if you really need it, you should have a look at https://github.com/sonian/elasticsearch-jetty and see how Sonian added a jetty layer instead the standard Elasticsearch one.

HTH

David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 14 mai 2013 à 08:01, Chetana ambha.career@gmail.com a écrit :

I have a simple tranformer writter which makes actual ES action (add,delete,search,update) calls. I want that transformer interface to be accessible to the client. I wanted some means of communication other than REST if possible on ES. I could see NettyHttpChannel, so thinking whether I can make use of it

Thanks

On Tuesday, May 14, 2013 10:37:55 AM UTC+5:30, David Pilato wrote:

What are you trying to achieve?
Why do you need to add a servlet?

About multiple clients, yes Elasticsearch handles that very well and scales out if you need more and more power.

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

Le 14 mai 2013 à 05:08, Chetana ambha....@gmail.com a écrit :

Thanks for the reply.

Since REST adds a level of overhead compare to plain http call. I would like to use simple http enabled mechanism instead of REST. I also dont want to use one more web server between ES and client. Does ES allow deploying servlet or some http enabled artifact and allow client to make simple http call to ES?

One more question I have is, does ES support good connection pooling so that multiple clients can access at the same time

Thanks

On Monday, May 13, 2013 10:27:32 AM UTC+5:30, David Pilato wrote:

Here is an example of what I did for dropbox river module:
https://github.com/dadoonet/dropbox/blob/master/src/main/java/fr/pilato/elasticsearch/river/dropbox/plugin/DropboxRiverPlugin.java#L52

HTH

David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 13 mai 2013 à 04:57, Chetana ambha....@gmail.com a écrit :

yes. Could you please tell me where should I mention REST endpoint?

Do I need to do transformation between httpservletrequest/response to REST message?

Thanks

On Sunday, May 12, 2013 3:24:20 PM UTC+5:30, David Pilato wrote:

You can create a plugin and add your own REST endpoint. Is it what you are looking for?

HTH

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

Le 12 mai 2013 à 11:30, Chetana ambha....@gmail.com a écrit :

Is there a way to deploy servlet in Elastic search netty server?

--
View this message in context: http://elasticsearch-users.115913.n3.nabble.com/servlet-in-ES-server-tp4034683.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearc...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearc...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearc...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.