0

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

BobSwanson
  • 423
  • 2
  • 5
  • 18

1 Answers1

1

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.

Community
  • 1
  • 1
jrtnq5
  • 36
  • 1
  • 2