This project demonstrates the integration of Elasticsearch with a C# console application. It includes basic operations such as indexing, searching, and displaying results.
- .NET 5.0 or later
- Elasticsearch 7.x or later
- An instance of Elasticsearch running on
https://localhost:9200
- Clone the repository.
- Ensure Elasticsearch is running.
- Build and run the project using .NET CLI commands:
dotnet build
dotner run
- Indexing a simple document.
- Searching for documents based on a query.
- Displaying search results in the console.
- The project uses NEST, the official Elasticsearch .NET client.
- For demo purposes, certificate validation is disabled. This is not recommended for production environments.