Databases 5 min read

Easysearch 2.4.0: Native Vector Search in Kernel, k-NN Plugin No Longer Needed

INFINI Easysearch 2.4.0 integrates HNSW vector search directly into the kernel, eliminating the need for a separate k-NN plugin, and adds hybrid keyword-vector queries with weighted scoring, while maintaining full compatibility with Elasticsearch 8.19.17 clients and APIs.

Mingyi World Elasticsearch
Mingyi World Elasticsearch
Mingyi World Elasticsearch
Easysearch 2.4.0: Native Vector Search in Kernel, k-NN Plugin No Longer Needed

INFINI Easysearch 2.4.0 has been officially released. The headline feature is the integration of vector search directly into the kernel, removing the requirement for an external k-NN plugin.

Native Vector Search Based on Lucene HNSW

The new version implements HNSW vector indexing natively on top of Lucene. Users can now create indexes with dense_vector fields, use query-level knn clauses, and execute top-level knn queries out of the box.

Supported vector dimensions range from 1 to 4096, covering the output of most mainstream embedding models.

Four similarity algorithms are available: cosine, dot_product, l2_norm, and max_inner_product, allowing selection per use case.

For finer tuning of index accuracy and query performance, the build parameters m and ef_construction and the query-time parameter num_candidates are exposed. Defaults are hnsw with m=16 and ef_construction=100, which work well without manual adjustment.

Hybrid Keyword and Vector Search

Version 2.4.0 introduces hybrid retrieval: a top-level keyword query and a top-level knn query can run in parallel. Their result sets are merged via a union and re-scored with weighted scoring, fusing exact keyword matching and semantic understanding in a single request. This is directly valuable for RAG pipelines, intelligent customer-service knowledge bases, and semantic search applications where both precision and semantic recall are required.

Elasticsearch 8.19.17 Compatibility

Compatibility has been a focus. This release aligns with Elasticsearch 8.19.17 for float HNSW mapping, the Bulk API, kNN query semantics, and wire-protocol behavior. It is also compatible with the official Elasticsearch Java client 8.19.17 and Python client 8.19.3. Existing applications built on ES clients can largely connect to Easysearch without major code changes.

Management and Operational Enhancements

The console adds a visual mapping editor, making field structures immediately clear.

Cluster settings now display transient, persistent, and default configuration layers simultaneously, simplifying configuration troubleshooting.

Lifecycle policies, searchable snapshots, keystore, and plugin management modules have been synchronized and optimized.

Stability of field-usage statistics and disk-usage analysis under high concurrency has been improved.

Summary

Easysearch 2.4.0 delivers three core signals:

Vector search is no longer an add-on but a kernel-native capability .

Keyword and semantic retrieval can be fused in a single query.

Full compatibility with the Elasticsearch ecosystem is maintained.

Teams building RAG, intelligent Q&A, or semantic search systems should evaluate upgrading to this version. For detailed API usage and compatibility boundaries, refer to the official native HNSW search documentation.

Easysearch 2.4.0 release illustration
Easysearch 2.4.0 release illustration
Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

RAGvector searchHNSWdense_vectorhybrid searchk-NNElasticsearch compatibilityEasysearch
Mingyi World Elasticsearch
Written by

Mingyi World Elasticsearch

The leading WeChat public account for Elasticsearch fundamentals, advanced topics, and hands‑on practice. Join us to dive deep into the ELK Stack (Elasticsearch, Logstash, Kibana, Beats).

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.