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.
Matching moments
03:42 MIN
Understanding the original search architecture at GetYourGuide
Optimizing Discovery: PostgreSQL's Role in Transforming GetYourGuide's Search
04:09 MIN
Building a data aggregation and enrichment pipeline
100 million days in Vienna: A story of APIs & AI in tourism.
03:03 MIN
Exploring advanced features and efficient data ingestion
Add Location-based Searching to Site with ElasticSearch
03:13 MIN
The challenge of real-time aggregations in PostgreSQL
Optimizing Discovery: PostgreSQL's Role in Transforming GetYourGuide's Search
01:52 MIN
Identifying the limitations of the OpenSearch implementation
Optimizing Discovery: PostgreSQL's Role in Transforming GetYourGuide's Search
03:15 MIN
Combining OpenTelemetry data with the Elastic stack
Observability with OpenTelemetry & Elastic
04:50 MIN
An overview of the data indexing pipeline architecture
Don't Change the Partition Count for Kafka Topics!
05:26 MIN
Understanding the fundamentals of the Elasticsearch search engine
Add Location-based Searching to Site with ElasticSearch
All the videos of Halfstack London 2024!Last month was Halfstack London, a conference about the web, JavaScript and half a dozen other things. We were there to deliver a talk, but also to record all the sessions and we're happy to share them with you. It took a bit as we had to wait for th...
Dev Digest 136 - No JS(on) of mineNews and ArticlesDouglas Crockford is our featured video, so let's talk about evolving JavaScript and all things JSON. Judicious JSON explains all the weird things in it, you can learn why it can be incredibly slow, people wonder what even is a JSON ...
From learning to earning
Jobs that call for the skills explored in this talk.