BobSwanson
BobSwanson

Reputation: 423

Elasticsearch as service setup

How can I call elastic search from .NET console app, when I've set it up as Windows service? All tutorials online have it running as http://localhost:9200

Upvotes: 0

Views: 83

Answers (1)

jrtnq5
jrtnq5

Reputation: 36

Elasticsearch is designed to be interacted with through its RESTful API, so you will need to make REST calls to it from your app. Here is an example of a C# REST call. Here is Elasticsearch's RESTful documents. Hope this helps.

Upvotes: 1

Related Questions