Skip to content

Need help reviewing my configuration #2889

Answered by sjrl
felixriehm asked this question in Questions
Discussion options

You must be logged in to vote

To answer your first question

  • When I'm writing the general documents to elasticsearch I'm using DensePassageRetriever to embed the data but when i do a query i use BM25Retriever (which is sparse). Is this intended to work correctly or are the embedding values completely different and don't work together?

The BM25Retriever actually does not use vector embeddings when retrieving documents. It's based off of TF-IDF (more details can be found here). So in short this combination is intended to work, but you are currently not using the embeddings for document retrieval. If you never plan on using a DensePassageRetriever in your query pipeline then you do not need to run document_store.updat…

Replies: 2 comments 9 replies

Comment options

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

Answer selected by felixriehm
Comment options

You must be logged in to vote
8 replies
@sjrl
Comment options

sjrl Jul 27, 2022
Maintainer

@sjrl
Comment options

sjrl Jul 27, 2022
Maintainer

@felixriehm
Comment options

@sjrl
Comment options

sjrl Jul 28, 2022
Maintainer

@felixriehm
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants