From cdc1ba9e2b04e089b82f0cce5ba41510ca77f5d4 Mon Sep 17 00:00:00 2001 From: ilariapet Date: Thu, 16 Apr 2026 15:38:07 +0200 Subject: [PATCH] Update the Solr 10 major changes page to include new vector search and LTR functionality --- .../pages/major-changes-in-solr-10.adoc | 28 +++++++++++++++---- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/solr/solr-ref-guide/modules/upgrade-notes/pages/major-changes-in-solr-10.adoc b/solr/solr-ref-guide/modules/upgrade-notes/pages/major-changes-in-solr-10.adoc index 64cd50064ec7..23aa75a152c9 100644 --- a/solr/solr-ref-guide/modules/upgrade-notes/pages/major-changes-in-solr-10.adoc +++ b/solr/solr-ref-guide/modules/upgrade-notes/pages/major-changes-in-solr-10.adoc @@ -150,7 +150,9 @@ A new experimental Admin UI is available alongside the existing Admin UI (SOLR-1 It can be accessed at the URL path `/solr/ui/`. This UI is still in active development and provided as a preview; the existing Admin UI remains the default. -=== Vector Search Enhancements +=== Vector Search + +==== Enhancements * The `efSearchScaleFactor` parameter is now available for the KNN query parser (SOLR-17928). This parameter controls how many candidate vectors are explored during HNSW graph traversal, allowing users to independently tune search accuracy versus the number of results returned. Previously, improving accuracy required increasing `topK` (which returns more results), but `efSearchScaleFactor` enables exploring more candidates while still receiving exactly `topK` results. The `efSearch` value is calculated internally as `efSearchScaleFactor * topK`. Default value is `1.0`, which means `efSearch` defaults to `topK`. @@ -158,6 +160,20 @@ This UI is still in active development and provided as a preview; the existing A * GPU-accelerated approximate nearest neighbor search is now available via the cuVS-Lucene pluggable codec (SOLR-17892). This allows NVIDIA GPU hardware to be used for vector search workloads. +* Early termination strategy for KNN queries is now supported (SOLR-17814). `PatienceKnnVectorQuery` is a version of knn vector query that exits early the graph when HNSW queue saturates over a saturationThreshold for more than patience times. + +* Lexically accelerated vector search is now supported (SOLR-17813). `SeededKnnVectorQuery` is a version of knn vector query that introduces a “seed” query, allowing the search to start from a predefined subset of documents and guide the vector similarity computation. + +* The `filteredSearchThreshold` parameter is now available to regulate ACORN-based filtering in vector search (SOLR-17815). This approach addresses the performance limitations typically associated with pre-filtering and post-filtering strategies by modifying both the construction and search phases of the HNSW graph. + +* Fixed incorrect behavior of `TextToVectorUpdateProcessor` during partial updates (SOLR-17843). + +==== Renaming of HNSW Parameters +Attention: + +* The `llm` module has been renamed to `language-models`. +* The HNSW parameters `hnswMaxConnections` and `hnswBeamWidth` have been renamed to `hnswM` and `hnswEfConstruction`, respectively, so they must be updated accordingly in the schema.xml file. + === Deprecation Code Removals * Several deprecated modules have been removed. @@ -293,11 +309,9 @@ Due to Lucene 10 changes (https://github.com/apache/lucene/pull/12875), `PathHie ---- -=== Renaming in Vector Search -Attention: +=== Learning To Rank (LTR) -* The `llm` module has been renamed to `language-models`. -* The HNSW parameters `hnswMaxConnections` and `hnswBeamWidth` have been renamed to `hnswM` and `hnswEfConstruction`, respectively, so they must be updated accordingly in the schema.xml file. +A new feature vector cache was added that is used not only for feature logging but also for the reranking phase (SOLR-16667). == Solr 10.1 @@ -331,3 +345,7 @@ Older segments will continue to be readable. WARNING: After upgrading to Solr 10.1, downgrading to an earlier Solr 10.0.x version may fail because the older version does not include the `Lucene104` codec needed to read the newly written segments. If you require the ability to roll back, back up your indexes before upgrading. + +=== Query Changes + +* Combined Query Feature is now available, enabling the execution of multiple queries of multiple kinds across multiple shards (SOLR-17319). Introduced `CombinedQuerySearchHandler` for hybrid search, using reciprocal rank fusion (RRF) by default and supporting custom ranking algorithms via plugins.