Native client or REST


(IronMike) #1

I thought I understood this, but maybe not. I hope someone can shed some
light on this.

I have to index tons of files and I would like to be able to query it from
our web application written in javascript, all will be running on AWS EC2.
Question: If I index the files using native JAVA API, will I be able to
perform queries/searches from the web application via http/REST API?
I am curious to know how people approach this? Note, I would prefer to work
with Java, but willing to do something else if it makes more sense.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/58e6edbc-09b5-4375-a511-77b4c0b1a15b%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Lukáš Vlček) #2

Question: If I index the files using native JAVA API, will I be able to
perform queries/searches from the web application via http/REST API?

Yes.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAO9cvUZKd-oWY%3DrZuhQgMeps85TL3qEfKvueFnH6mmDxHRi1nw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Nik Everett) #3

The native client is lower overhead but you have to use the same version the client as you do Elasticsearch and you should use the same JVM version as well. If you do java then those are the trade offs.

Sent from my iPhone

On Jan 23, 2014, at 9:19 AM, Lukáš Vlček lukas.vlcek@gmail.com wrote:

Question: If I index the files using native JAVA API, will I be able to perform queries/searches from the web application via http/REST API?

Yes.

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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAO9cvUZKd-oWY%3DrZuhQgMeps85TL3qEfKvueFnH6mmDxHRi1nw%40mail.gmail.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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/BF231D40-F1F9-48AC-84F1-9EEE7F8A1FC2%40gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #4