
Amazon OpenSearch Serverless Demo
This demo uses Amazon OpenSearch Serverless with Next.js to showcase all three collection types: Search, Vector, and Time Series. It connects securely using AWS SigV4 authentication.
Demo Tabs:
| Tab | Collection Type | Use Case |
|---|---|---|
| 🔍 Search | Search | Recipe search with facets, highlighting, and autocomplete |
| 🧠 Vector | Vector | Travel destination finder with semantic k-NN search |
| 📊 Time Series | Time Series | Weather station network with time-based aggregations |
Requirements
- Three Amazon OpenSearch Serverless collections (Search, Vector, Time Series)
- AWS credentials with data access policies configured
- Node.js 18+
Local Setup
- Install dependencies:
npm install
- Configure environment variables:
cp .env.local.example .env.local# Edit .env.local with your collection endpoints and AWS credentials
- Seed all three indexes:
npm run seed # Recipe search index (107 recipes)npm run seed:vector # Travel destinations with embeddings (40 destinations)npm run seed:timeseries # Weather station data (1344 hourly readings)
- Start the development server:
npm run dev
- View local development: http://localhost:3000


