Build multimodal image search with Elasticsearch Serverless

Updated at:

Build multimodal image search with Elasticsearch Serverless

To address challenges in product search, such as difficulty fusing multimodal features and insufficient vector search performance, this solution uses Alibaba Cloud Elasticsearch Serverless. It leverages scalar quantization to dramatically reduce memory footprint, enabling millisecond-level matching across tens of billions of vectors. Its fully managed, intelligent architecture is maintenance-free, balancing high elasticity and low cost to ensure efficient, stable operations.

Target customers

Enterprises and teams building efficient hybrid text-and-image search capabilities.

Organizations managing large volumes of digital media assets.

Technical teams creating highly available, high-performance search services for images and text.

Background

Multimodal search foundation with Elasticsearch Serverless

Traditional search causes high resource waste, and it is prone to downtime during peak periods

Traditional ES clusters are inelastic and scale slowly during peak traffic, often leading to node disconnections, query timeouts, or cascading failures. To meet service level agreements (SLAs), organizations often overprovision resources to compensate, which results in waste and higher maintenance costs.

High memory usage and poor scalability in traditional vector search

In traditional vector search, high-dimensional vectors consume significant space. Combined with the amplification effect of HNSW indexes, memory consumption increases sharply during queries. This severely limits real-time search performance at a massive scale.

On-demand scaling and fast vector search with Elasticsearch Serverless

Elasticsearch Serverless features a cloud-native architecture with auto scaling and pay-as-you-go billing. Its built-in, high-performance vector search engine supports HNSW and quantization compression, delivering millisecond response times for hundreds of millions of data entries.

Solution advantages

From elasticity to intelligence: Smart real-time search

视频

Native compatibility and fast integration

Elasticsearch Serverless is compatible with native Elasticsearch APIs and ecosystem components like Kibana. You can retain your existing workflows and quickly migrate to the serverless version, accelerating your business's adoption of the cloud.

Platform interoperability and on-demand models

Elasticsearch Serverless applications seamlessly integrate with all models on the Open Platform for AI Search. You can call these models directly from within Elasticsearch via API.

Massive-scale writes and intelligent search

Ingests hundreds of millions of heterogeneous data entries from multiple sources, with millisecond data visibility. The service supports complex queries and full-text search. Native vector search powers use cases like image-to-image search, smart Q&A, and recommendation systems.

Lower costs and maintenance-free operations

Elasticsearch Serverless supports reserved resources for lower unit prices. Combined with its elastic capabilities, it ensures stable access during peak loads, making it more economical than a purely pay-as-you-go model. It eliminates underlying deployment, scaling, and other maintenance tasks by automatically scheduling resources, delivering a seamless, maintenance-free experience.

Architecture and deployment

Architecture for multimodal product search

2979696

This solution leverages Alibaba Cloud Elasticsearch Serverless and Object Storage Service (OSS), along with the vision and vector models from the Open Platform for AI Search. It enables intelligent image parsing and joint vectorization of images and text. By building a unified multimodal retrieval system, it supports core use cases like text-to-image and image-to-image search. This approach greatly improves the retrieval efficiency and semantic understanding of unstructured data.

30 minutes

CNY 5(Elasticsearch Serverless and Object Storage Service (OSS) are billed on a pay-as-you-go basis. Model services from the Open Platform for AI Search are billed based on tokens. Function Compute offers a free tier. If your free tier is exhausted, the estimated cost to experience this solution is no more than CNY 5.)

架构图@2x

Function ComputeObject Storage Service (OSS)Alibaba Cloud Elasticsearch

Use cases

Wide-ranging use cases

image

Medical imaging retrieval and diagnostic assistance

Use Elasticsearch Serverless to store vectorized medical images for similarity search, enabling millisecond-level matching of similar historical cases. Combine vector search with filters for structured fields, such as lesion type or hospital department, to improve the accuracy and efficiency of diagnostic assistance.

image

Target retrieval and matching in security surveillance

Modeling features such as faces and clothing as vectors in Elasticsearch Serverless enables image-to-person or text-to-person search. Use k-NN search combined with attribute filtering to quickly locate a target's appearance across multiple video streams.

image

Question search and solution delivery on educational platforms

Encode question images and text into vectors and store them in Elasticsearch Serverless to support semantic matching for photo-based question searches. Combine the search with structured information like knowledge points and difficulty levels to rank results and accurately deliver solutions.

Free trial

Alibaba Cloud free trials

10000017108

10000012572

942060