You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "ilariapet (Jira)" <ji...@apache.org> on 2025/10/03 12:45:00 UTC

[jira] [Commented] (SOLR-17813) Add support for SeededKnnVectorQuery

    [ https://issues.apache.org/jira/browse/SOLR-17813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18024477#comment-18024477 ] 

ilariapet commented on SOLR-17813:
----------------------------------

Thanks again for your review [~cpoerschke]. 

I also conducted a detailed review this morning with [~abenedetti] and opened the official PR. Since there is already an open PR for the Lucene 10.3 upgrade, we believe it’s worth waiting a bit before merging this one, so that we can hopefully address the parts affected by this limitation:
{code:java}
Currently seedQuery and earlyTermination parameters cannot be used together due to Lucene Issue #14688. Solr must be upgraded to a Lucene version that includes this patch.{code}
I will also try to contribute to the Lucene upgrade effort, if needed, to help ensure it gets merged soon.

 

> Add support for SeededKnnVectorQuery
> ------------------------------------
>
>                 Key: SOLR-17813
>                 URL: https://issues.apache.org/jira/browse/SOLR-17813
>             Project: Solr
>          Issue Type: New Feature
>          Components: vector-search
>            Reporter: Alessandro Benedetti
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> Apache Lucene implemented a version of knn vector query that provides a query seed to initiate the vector search (entry points in the HNSW graph exploration).
> See "Lexically-Accelerated Dense Retrieval"(Hrishikesh Kulkarni, Sean MacAvaney, Nazli Goharian, Ophir Frieder).
> From SIGIR '23: https://arxiv.org/abs/2307.16779 
> With this task, we aim to add to Solr this new query, probably as an additional parameter of the current KNN query parser.
> The only relevant parameter is Query seed
> While the Weight seedWeight is added when rewriting the query, so no special care should be needed there (see org.apache.lucene.search.SeededKnnVectorQuery#rewrite and org.apache.lucene.search.SeededKnnVectorQuery#createSeedWeight)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org