elasticsearch-dotnet-playground

This playground is a collection of notebooks that demonstrate how to use Elasticsearch.NET and NEST clients.

MIT License

Stars
11
Committers
2

Elasticsearch .NET Playground

This playground is a collection of notebooks that demonstrate how to use Elastic.Clients.Elasticsearch and NEST clients.

You may want to use this playground to:

  • Learn more about Elastic.Clients.Elasticsearch and NEST clients
  • You want to migrate your existing code from NEST to Elastic.Clients.Elasticsearch.

See playground.ipynb to get started.

Configure

To configure the playground, set the PLAYGROUND_CONNECTION_STRING=https://elastic:[email protected]:9200/ in .env file in the root of the project. If you don't do it, you will be prompted to enter the connection string every time you set up the client

Analyzer Build

This repository contains Nall.NEST.MigtarionAnalyzer analyzer that helps with migration from Nest to Elastic.Clients.Elasticsearch.

dotnet add package Nall.NEST.MigtarionAnalyzer --version 1.2.0

Devcontainer

You can use the devcontainer to get started with the playground. It will install the required tools and libraries.

See .devcontainer/devcontainer.json to get started.

This command will confirm that Jupyter now supports C# notebooks:

jupyter kernelspec list

Enter the notebooks folder, and run this to launch the browser interface:

jupyter-lab

References

Badges
Extracted from project README's
Build