Skip to content

Suggestions for Indexing Strategies? #308

Answered by alexklibisz
nmaswood asked this question in Q&A
Discussion options

You must be logged in to vote

because candidates gets ignored when we use Filtered Subsets does it mean that instead of:
3 * 100 computations we have 3 * 1_000_000 computations?

It shouldn't. AFAIK the function score just takes the first size docs that match the given query and runs the specified function(s) on that subset. The maximum size is 10k, so it will at most run exact knn on 3 * 10k vectors. There's some more discussion about this on a recent issue #298 .

This is less related to having large indices, but just thought I would ask. Does this mean documents will be ordered differently?

They could be ordered differently. If you're going to use the function score query, I would recommend first trying it with e…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@nmaswood
Comment options

Comment options

You must be logged in to vote
1 reply
@nmaswood
Comment options

Answer selected by alexklibisz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants