Skip to content

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

License

Notifications You must be signed in to change notification settings

4bitsteams/elasticsearch-dotnet-playground

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

setup-elastic-infra

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 38.8%
  • C# 34.4%
  • PowerShell 26.8%