Skip to content

questions about sparse index #34806

Discussion options

You must be logged in to vote

Hi @Gladiator566, thanks for the question!

the difference between SPARSE_INVERTED_INDEX and SPARSE_WAND

  • SPARSE_INVERTED_INDEX is the plain old inverted index: for each dimension, maintain a list of doc ids that is not zero in this dimension; at search time, only compute scores of docs in merged lists of the query's non zero dimensions.
  • SPARSE_WAND is similar to SPARSE_INVERTED_INDEX in that they both have the same inverted index, but SPARSE_WAND maintains more metadata in the index to allow the utilization of the WAND algorithm to greatly reduce the number of docs that needs to be evaluated. If you are interested in the detail, you may refer to the original paper or this slide.

The ch…

Replies: 2 comments 1 reply

Comment options

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

Comment options

You must be logged in to vote
0 replies
Answer selected by Gladiator566
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants