I'm creating a desktop application (jar) where I need to add and search for information on elasticsearch. Elasticsearch is consumed using rest to get and set data and I'm thinking about use spark as I saw in the article below:
http://www.ibm.com/developerworks/library/j-use-elasticsearch-java-apps/index.html
Anyway, I have a doubt if I can do it on desktop applications or rest services can only be consumed by web applications.
Any other way to consume elasticsearch methods with java on desktop applications are welcome too.
I really appreciate any help. Thanks