You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Elia Porciani (Jira)" <ji...@apache.org> on 2022/06/13 13:38:00 UTC

[jira] [Commented] (SOLR-16246) Implement pre-filtering functionallity for KnnQParser

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

Elia Porciani commented on SOLR-16246:
--------------------------------------

Created a PR: https://github.com/apache/solr/pull/904

> Implement pre-filtering functionallity for KnnQParser
> -----------------------------------------------------
>
>                 Key: SOLR-16246
>                 URL: https://issues.apache.org/jira/browse/SOLR-16246
>             Project: Solr
>          Issue Type: Task
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Elia Porciani
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> At the current state of development, with KnnQParser it is possible to specify filter queries and the result is the intersection between:
> * top-K document founds by the KNN search
> * Results of the filter query
> As a consequence, if the filter query filters out some documents in the top-K results, we will have less than K results in the result set.
> The proposal is to leverage the recent Apache Lucene development [LUCENE-10382|https://issues.apache.org/jira/browse/LUCENE-10382] to change the behavior of the filter queries in the KnnQParser in such a way:
> * The filter query works as pre-filtering
> * KNN Search retrieves the top-K results among the documents that are not filtered out.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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