Notebooks & Example Apps for Search, Observability, and Security with Elasticsearch
Jupyter Notebook
1,139
671 commits
updated Oct 9, 2026
This repo contains executable Python notebooks, sample apps, and resources for testing out the Elastic platform across search, security, and observability use cases.
Visit Elastic Labs for the latest articles, tutorials, and more.
semantic_text, the inference API, and semantic reranking.Watch, fork, or star the Elastic Labs repo on GitHub for the latest updates.
The notebooks folder contains a range of executable Python notebooks, so you can test these features out for yourself. Colab provides an easy-to-use Python virtual environment in the browser.
Try out Playground in Kibana with the following notebooks:
question-answering.ipynblangchain-self-query-retriever.ipynbQuestion Answering with Self Query RetrieverBM25 and Self-querying retriever with elasticsearch and LangChainlangchain-vector-store.ipynblangchain-vector-store-using-elser.ipynblangchain-using-own-model.ipynbDocument Chunking with Ingest PipelinesDocument Chunking with LangChain SplittersCalculating tokens for Semantic Search (ELSER and E5)Fetch surrounding chunks00-quick-start.ipynb01-keyword-querying-filtering.ipynb02-hybrid-search.ipynb03-ELSER.ipynb04-multilingual.ipynb05-query-rules.ipynb06-synonyms-api.ipynb07-inference.ipynb08-learning-to-rank.ipynb09-semantic-text.ipynbloading-model-from-hugging-face.ipynbopenai-semantic-search-RAG.ipynbamazon-bedrock-langchain-qa-example.ipynbSemantic Search using the Inference API with the Cohere ServiceThe Search team at Elastic maintains this repository and is happy to help.
If you have an Elastic subscription, you are entitled to Support services for your Elasticsearch deployment. See our welcome page for working with our support team. These services do not apply to the sample application code contained in this repository.
Try posting your question to the Elastic discuss forums and tag it with #esre-elasticsearch-relevance-engine
You can also find us in the #search-esre-relevance-engine channel of the Elastic Community Slack
This software is licensed under the Apache License, version 2 ("ALv2").
720 followers · starred Aug 2023
147 followers · starred Sep 2023
536 followers · starred Aug 2026
51 followers · starred Oct 2024
Notebooks & Example Apps for Search, Observability, and Security with Elasticsearch
Jupyter Notebook
1,139
671 commits
updated Oct 9, 2026
This repo contains executable Python notebooks, sample apps, and resources for testing out the Elastic platform across search, security, and observability use cases.
Visit Elastic Labs for the latest articles, tutorials, and more.
semantic_text, the inference API, and semantic reranking.Watch, fork, or star the Elastic Labs repo on GitHub for the latest updates.
The notebooks folder contains a range of executable Python notebooks, so you can test these features out for yourself. Colab provides an easy-to-use Python virtual environment in the browser.
Try out Playground in Kibana with the following notebooks:
question-answering.ipynblangchain-self-query-retriever.ipynbQuestion Answering with Self Query RetrieverBM25 and Self-querying retriever with elasticsearch and LangChainlangchain-vector-store.ipynblangchain-vector-store-using-elser.ipynblangchain-using-own-model.ipynbDocument Chunking with Ingest PipelinesDocument Chunking with LangChain SplittersCalculating tokens for Semantic Search (ELSER and E5)Fetch surrounding chunks00-quick-start.ipynb01-keyword-querying-filtering.ipynb02-hybrid-search.ipynb03-ELSER.ipynb04-multilingual.ipynb05-query-rules.ipynb06-synonyms-api.ipynb07-inference.ipynb08-learning-to-rank.ipynb09-semantic-text.ipynbloading-model-from-hugging-face.ipynbopenai-semantic-search-RAG.ipynbamazon-bedrock-langchain-qa-example.ipynbSemantic Search using the Inference API with the Cohere ServiceThe Search team at Elastic maintains this repository and is happy to help.
If you have an Elastic subscription, you are entitled to Support services for your Elasticsearch deployment. See our welcome page for working with our support team. These services do not apply to the sample application code contained in this repository.
Try posting your question to the Elastic discuss forums and tag it with #esre-elasticsearch-relevance-engine
You can also find us in the #search-esre-relevance-engine channel of the Elastic Community Slack
This software is licensed under the Apache License, version 2 ("ALv2").
720 followers · starred Aug 2023
147 followers · starred Sep 2023
536 followers · starred Aug 2026
51 followers · starred Oct 2024