+1 we should extend the functionality to support any Bits, not just liveDocs; we need to propose an API. The implementation should not be too hard - we need to intersect the user-supplied Bits with liveDocs and use that to filter.
On Wed, Jan 19, 2022 at 1:42 PM Joel Bernstein <[email protected]> wrote: > > Hi, > > Thanks for all the work on the vector search! > > I was wondering if there was a way using KnnVectorQuery to filter the docs > this query looks at. Right now the searchLeaf method passes in the liveDocs > to LeafReader.searchNearestVectors, but there appears to be no way to have > the KnnVectorQuery operate on a subset of liveDocs. > > Thanks, > > Joel Bernstein > http://joelsolr.blogspot.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
