Configure multiple embedders
Before running semantic multi-search queries, configure at least two embedders on your index. For example, a text embedder using OpenAI and an image embedder using a multimodal REST provider:Search with text and image in one request
Use federated multi-search to combine a text query and an image query, each targeting a different embedder on the same index:Control the balance between text and image results
UsefederationOptions.weight to control how much each query contributes to the final ranking:
Combine keyword, text semantic, and image search
You can go further and combine all three search modes in one request: keyword search, semantic text search, and image search.- Keyword search (
semanticRatio: 0.0) for exact term matches - Semantic text search (
semanticRatio: 1.0) for meaning-based matches - Image search for visually similar products
Search across multiple indexes with different embedders
You can also target different indexes, each with its own embedders. For example, searching aproducts index with a text embedder and an inspiration index with an image embedder:
Next steps
Configure embedders
Set up text and multimodal embedders for semantic search.
Image search
Configure a multimodal embedder for image-based search.
Multiple embedders
Learn how to configure and use multiple embedders on the same index.
Boost results
Fine-tune federation weights to control result ranking.