Moorcheh icon

Moorcheh

Interact with Moorcheh Vector Store API

Actions11

Search → Search

AI-generated

Overview

This node performs a search operation on the Moorcheh Vector Store API. It allows users to search for relevant documents or vectors within specified namespaces using either a text query or a vector query (comma-separated vector values). The search can be customized with parameters such as the number of top results to return (Top K), a threshold for filtering results, and a kiosk mode toggle that adjusts the search behavior. This node is useful for applications involving semantic search, vector similarity search, or retrieving relevant information from a vector database.

Use Case Examples

  1. Searching for documents related to a specific text query across multiple namespaces.
  2. Performing a vector similarity search by providing a vector query to find the closest matching vectors in the database.
  3. Filtering search results by setting a threshold to exclude less relevant matches.
  4. Using kiosk mode to enable additional filtering based on the threshold parameter.

Properties

Name Meaning
Query Text query or comma-separated vector values used for searching. For vector search, the dimension must match the namespace.
Namespaces Comma-separated list of namespace names to search within.
Top K Number of top search results to return.
Threshold Minimum relevance score threshold for filtering search results. Only applicable when kiosk mode is enabled.
Kiosk Mode Boolean flag to enable kiosk mode, which applies the threshold filter to the search results.

Output

JSON

  • json - The JSON response from the Moorcheh API containing the search results.

Dependencies

  • Moorcheh API key credential for authentication

Troubleshooting

  • Ensure the query format matches the expected input: a text string or comma-separated vector values with correct dimension.
  • Verify that the namespaces specified exist and are accessible in the Moorcheh vector store.
  • If kiosk mode is enabled, check that the threshold value is set appropriately to avoid filtering out all results.
  • Common error messages may include invalid JSON in metadata, unsupported operations, or authentication failures. Verify the API key and request parameters.

Discussion