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

ASF subversion and git services commented on SOLR-16246:
--------------------------------------------------------

Commit 8827b3cba496421022291abca79d2cfb3a0a7521 in solr's branch 
refs/heads/main from Elia Porciani
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=8827b3cba49 ]

SOLR-16246: Introduced pre-filtering in KnnQParser (#904)

* Introduced pre-filtering in Knn Query Parser

> Implement pre-filtering functionallity for KnnQParser
> -----------------------------------------------------
>
>                 Key: SOLR-16246
>                 URL: https://issues.apache.org/jira/browse/SOLR-16246
>             Project: Solr
>          Issue Type: Task
>            Reporter: Elia Porciani
>            Priority: Major
>          Time Spent: 3h 40m
>  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.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to