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

Adrien Grand commented on LUCENE-10016:
---------------------------------------

I'm not comfortable with having an API parameter like recallFactor whose 
semantics would depend on the codec. I don't think we have a precedent for this.

Maybe something like reader attributes 
([https://github.com/apache/lucene-solr/pull/640|https://github.com/apache/lucene-solr/pull/640)],
 introduced to make it possible to configure whether to load the terms index on 
or off heap, and later removed when we decided to always load it off-heap) 
would be a better way to configure these read-time configuration options of 
vectors, assuming that it wouldn't be a common use-case to tune them on a 
per-request basis?

> 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
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to