You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Michael Sokolov (Jira)" <ji...@apache.org> on 2021/07/01 20:27:00 UTC

[jira] [Commented] (LUCENE-10016) VectorReader.search needs rethought, o.a.l.search integration?

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

Michael Sokolov commented on LUCENE-10016:
------------------------------------------

> We can move it to a codec parameter?

Probably we can just remove altogether. Users that want to increase fanout can effectively do it by increasing top K and discarding all but the top K2 < K.

> VectorReader.search needs rethought, o.a.l.search integration?
> --------------------------------------------------------------
>
>                 Key: LUCENE-10016
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10016
>             Project: Lucene - Core
>          Issue Type: Task
>            Reporter: Robert Muir
>            Priority: Blocker
>             Fix For: 9.0
>
>
> There's no search integration (e.g. queries) for the current vector values, no documentation/examples that I can find.
> Instead the codec has this method:
> {code}
> TopDocs search(String field, float[] target, int k, int fanout)
> {code}
> First, the "fanout" parameter needs to go, this is specific to HNSW impl, get it out of here.
> Second, How am I supposed to skip over deleted documents? How can I use filters? How should i search across multiple segments?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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