Skip to content

Is it possible to perform a fusion query when with_payload is true? #4904

Closed Answered by chrisvariety
chrisvariety asked this question in Q&A
Discussion options

You must be logged in to vote

Figured it out in case anyone else has this same problem:

client.query('test', {
  prefetch: [
    {
      query: sparse,
      using: 'sparse',
      limit: 20
    },
    {
      query: embedding,
      using: 'dense',
      limit: 20
    }
  ],
  query: {
    fusion: 'rrf'
  },
  with_payload: true
});

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by chrisvariety
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant