Upstash Search JS
UpstashOfficialCreated by Upstash
- Skill
- Tool integration
- Software development
- MIT
- No issues found
AutoGineer summary
Written by AutoGineer from the skill’s own files, not by the author
The upstash-search-js skill provides comprehensive guidance for utilizing the @upstash/search TypeScript/JavaScript SDK. It enables developers to implement serverless full-text, semantic, and hybrid search functionality within their applications. The skill covers the entire lifecycle of search operations, including index management, document upsertion with metadata, advanced filtering, and result reranking, all without the need for managing clusters.
What it does
- Facilitates the creation and management of serverless search indexes.
- Supports upserting documents with both searchable content and filterable metadata.
- Enables execution of keyword, semantic, and hybrid search queries.
- Provides tools for result reranking and structured filtering.
- Includes methods for document retrieval, deletion, and index maintenance.
- Offers guidance on pagination and range-based queries.
When to use it
- When adding full-text or semantic search to a web application or site.
- When building a product, document, or knowledge-base search feature.
- When you require a managed, serverless search service that avoids cluster management.
- When implementing complex filtering or reranking requirements for search results.
Advantages
- Serverless architecture eliminates the need for manual cluster management.
- Supports both keyword and semantic search in a single interface.
- Built-in reranking capabilities improve search result relevance.
- Flexible metadata filtering allows for precise query control.
- Native TypeScript support ensures type safety during development.
Usage examples
- “How do I initialize the Upstash Search client and add a document?”
- The agent provides the code to import the Search class, initialize it with environment variables, and use the index.upsert method to add a document.
- “Show me how to perform a search query with filtering.”
- The agent demonstrates the index.search method, showing how to pass a query string alongside structured filter parameters.
Install
Download the skill as a ZIP:
https://autogineer.com/agent-skills/upstash/upstash-search-js/downloadUnzip it into the cross-client skills folder of your project:
mkdir -p .agents/skills && unzip upstash-search-js.zip -d .agents/skills
Documentation by Upstash
Upstash Search Documentation
Bundled docs and source
Before writing or debugging SDK code, check node_modules/@upstash/search/docs/ for bundled docs and node_modules/@upstash/search/src/ for readable TypeScript source. Read and search the relevant files when present; otherwise use the references in this skill.
Quick Start
Install the TS SDK:
npm install @upstash/searchCreate a client and perform a simple upsert + search:
import { Search } from "@upstash/search";
const client = new Search({ url: process.env.UPSTASH_SEARCH_REST_URL, token: process.env.UPSTASH_SEARCH_REST_TOKEN });
const index = client.index("my-index");
await index.upsert({ id: "1", content: { text: "hello world" } });
const results = await index.search({ query: "hello" });Basic steps:
Create an index
Insert or update documents
Run searches or filtered queries
Other Skill Files
sdk-overview
Provides detailed documentation for all TypeScript SDK commands. Includes:
delete: Deleting documents
fetch: Retrieving a document
info: Index info
range: Range queries
reset: Clearing an index
search: Search queries
upsert: Adding/updating documents
getting-started: Setup steps for the SDK
quick-start
Provides a fast, end-to-end workflow for creating a Search database, adding documents, and querying them. Covers essential concepts including:
Creating a database and storing credentials
Adding documents with content and metadata
Understanding content vs metadata (searchability and filterability)
Performing searches with optional reranking
Filtering syntax with SQL-like or structured filters
Common pitfalls and best practices
Files
- ATTRIBUTION.mdAdded by AutoGineer886 B
- LICENSELicence file added by AutoGineer1.1 KiB
- SKILL.md2.4 KiB
- quick-start.md3.8 KiB
- sdk-overview.md3.6 KiB
Requirements and compatibility
Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta
“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.
Needs: Needs Node.js
Security
No issues found by our static scan· No issues found
A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.
Attribution and licence
- Created by
- Upstash
- Publisher
- Upstash (Official)
- Source
- upstash/skills · skills/upstash-search-js · commit 9f9e3e5
- Licence
- MIT License (redistribution allowed)
- LICENSE (added by AutoGineer from LICENSE)
- ATTRIBUTION.md (written by AutoGineer)
- Synced
AutoGineer is not affiliated with or endorsed by Upstash or Upstash.
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download upstash-search-js.zip