Actions4
- Document Actions
Document → Search
AI-generatedSummary
Searches the selected Upstash Search index for documents matching a required text query. Returns each result as a separate n8n item, optionally filtering results by their score.
Inputs
- Index Name (required) — Index to search; defaults to
default. - Query (required) — Text used to find matching documents.
- Limit — Maximum number of results; defaults to 10.
- Similarity Threshold — Minimum result score from 0 to 1; defaults to 0, which applies no filtering.
- Additional Fields → Filter — Optional search constraint, provided as a string expression or structured filter object.
- Additional Fields → Input Enrichment — Whether to enhance the query before searching; defaults to enabled.
- Additional Fields → Keep Original Query After Enrichment — Whether to retain the original query alongside the enriched query; defaults to disabled.
- Additional Fields → Reranking — Whether to rerank search results; defaults to disabled and may incur additional cost.
- Additional Fields → Semantic Weight — Balance of semantic versus keyword matching from 0 to 1; defaults to 0.75.
Output shape
A list of n8n items, one per search result.
Each item's JSON contains the result returned by Upstash Search. The similarity threshold is applied after the search only when greater than 0, filtering out results whose score is below it. If the search returns a non-array result, it is emitted as one item.