Search queries in Mixpeek allow you to search across multiple modalities simultaneously using an array of query objects.

Query Types

Text Queries

  • Natural language text
  • Keywords and phrases
  • Semantic understanding
  • Multi-language support

URL Queries

  • Image URLs
  • Video URLs
  • Document URLs
  • Web content

Query Structure

Query Parameters

Result Combination

RRF Formula

RRF Score = sum(1 / (k + r)) for each rank r
where k = constant (default: 60)

Common Use Cases

{
  "queries": [
    {
      "type": "url",
      "value": "https://example.com/product.jpg",
      "embedding_model": "image"
    }
  ]
}

Best Practices

1

Query Selection

Choose appropriate query types and vector indexes for your use case

2

Performance Optimization

Limit number of queries and optimize query content

3

Result Refinement

Use specific queries and combine modalities effectively

4

Error Handling

Implement proper validation and error handling

Exceeding query limits or using invalid parameters may result in errors. See Limits for more details.