Search and aggregations made easy with OpenSearch and NodeJS
Go beyond simple keyword search. Learn to build powerful data aggregations and visualizations in your NodeJS app with OpenSearch.
#1about 4 minutes
Understanding OpenSearch core concepts and architecture
OpenSearch analyzes and stores data in a distributed architecture of shards, replicas, and nodes, accessible via a REST API or language-specific clients.
#2about 5 minutes
Setting up the NodeJS project and OpenSearch cluster
To get started, clone the example repository, set up a managed OpenSearch cluster, and configure the NodeJS client with your service URI.
#3about 3 minutes
Bulk indexing data and inspecting the schema
Use the bulk endpoint in the NodeJS client to efficiently index large datasets, allowing OpenSearch to automatically infer the data schema or mapping.
#4about 6 minutes
Executing different types of search queries
Learn to use various query types like match, match_phrase with slop, term, and boolean queries to perform full-text and structured searches.
#5about 3 minutes
Analyzing data with metric and bucket aggregations
Go beyond search by using aggregations to calculate metrics like averages or to group data into buckets with histograms for powerful analysis.
#6about 4 minutes
Visualizing data with OpenSearch Dashboards
Use OpenSearch Dashboards to create visualizations like bar charts and tag clouds, explore raw data in the Discover panel, and run queries in Dev Tools.
#7about 4 minutes
Q&A on indexing, aggregations, and OpenSearch vs Elasticsearch
The session concludes with answers to audience questions about indexing different data types, the benefits of OpenSearch over Elasticsearch, and aggregation limits.
Related jobs
Jobs that call for the skills explored in this talk.
Dev Digest 215: Agent Memory, JS2026, Googlebot Analysis & Canvas❤️HTMLInside last week’s Dev Digest 215 .
🗿 Make AI talk like a caveman
🧠 A guide to context engineering for LLMs
🤖 Simon Willison on agentic engineering
🔐 Axios supply chain attack post mortem
🛡️ Designing AI agents to resist prompt injection
🎨 HTML in c...
Daniel Cranney
Why We Should Be Using the <search> Element MoreWhen you consider how integral search elements to user interfaces and user experience more general, you might be surprised to learn they were only introduced to the HTML spec in 2023.
If you’ve ever built a search bar in HTML, it could well have look...
Daniel Cranney
Dev Digest 213: Petrol Prices, Agentic Workflows, AI Skills and CODE100!Inside last week’s Dev Digest 213 .
🤫 Don’t tell your LLM that it is an expert
👻 AI generated code is invisible
🔄 Learn about agentic workflows
🛡️ Linux Foundation sponsors fight against AI slop
🦠 1M users infected by Chrome extension
🫃 The why of J...
Christina Schaireiter
Why Attend a Developer Event?Modern software engineering moves too fast for documentation alone. Attending a world-class event is about shifting from tactical execution to strategic leadership.
Skill Diversification: Break out of your specific tech stack to see how the industry...
From learning to earning
Jobs that call for the skills explored in this talk.