You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Joel Bernstein (Jira)" <ji...@apache.org> on 2022/01/19 22:53:00 UTC
[jira] [Comment Edited] (LUCENE-10382) Allow KnnVectorQuery to operate over a subset of liveDocs
[ https://issues.apache.org/jira/browse/LUCENE-10382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17479016#comment-17479016 ]
Joel Bernstein edited comment on LUCENE-10382 at 1/19/22, 10:52 PM:
--------------------------------------------------------------------
I thought about passing in Bits but I don't think it will work because searchLeaf is at the segment level so we'd need segment level Bits.
We could pass in a Query and collect the segment level bits. Would be easy to implement as well.
KnnVectorQuery(String field, float[] target, int k, Query query)
was (Author: joel.bernstein):
I thought about passing in Bits but I don't think it will work because searchLeaf is at the segment level so we'd need segment level Bits.
We could pass in a Query and collect the bits segment level bits. Would be easy to implement as well.
KnnVectorQuery(String field, float[] target, int k, Query query)
> Allow KnnVectorQuery to operate over a subset of liveDocs
> ---------------------------------------------------------
>
> Key: LUCENE-10382
> URL: https://issues.apache.org/jira/browse/LUCENE-10382
> Project: Lucene - Core
> Issue Type: Improvement
> Affects Versions: 9.0
> Reporter: Joel Bernstein
> Priority: Major
>
> Currently the KnnVectorQuery selects the top K vectors from all live docs. This ticket will change the interface to make it possible for the top K vectors to be selected from a subset of the live docs.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org