OpenSearch - RocketRide Documentation
Skip to main content

OpenSearch

View as Markdown

What it does

OpenSearch node with two modes: Index (BM25 full-text search) and Vector Store (kNN semantic search). Switch between modes with the Store Mode toggle, no pipeline rewiring needed.

Lanes:

Lane inLane outDescription
text-Ingest raw text (index mode only)
documents-Ingest pre-embedded documents (vector store mode only)
questionstextSearch and return matching text
questionsdocumentsSearch and return matching documents
questionsanswersSearch and return matching documents as answers

Documents must be run through an embedding node before reaching this node (vector store mode only).

Configuration

FieldRequiredDescription
HostyesOpenSearch server URL (e.g. http://localhost:9200)
CollectionyesIndex name (lowercase, max 255 chars)
Use basic authnoEnable username/password authentication
Usernameauth onlyBasic auth username (default admin)
Passwordauth onlyBasic auth password
Store ModeyesIndex (BM25 text search) or Vector Store (kNN)
Embedding Dimensionvector onlyMust match the dimension of your embedding model
Retrieval Scorevector onlyMinimum similarity score to include a result (0–1, default 0.5)

Index mode: search options

FieldDefaultDescription
Match Operatororor: any term, and: all terms, exact: phrase match
Slop0Words allowed between terms in exact phrase match
Return contextual snippetsoffHighlight matching passages in results
Snippet size250Max characters per highlight snippet

Upstream docs