The community member is having trouble using the BM25 retriever with a VectorStoreIndex, as the index.docstore is empty, causing a ZeroDivisionError. Another community member suggests that the docstore is not populated when using a remote vector database, and recommends passing in the nodes directly or maintaining and persisting a docstore to use with this.
Has anyone succeeded with using BM25 retriever using a VectorStoreIndex? The documentation says it can receive nodes, docstore or index, but when using Index (from PGVectorStoreIndex), it throws ZeroDivisionError (rightfully as index.docstore is empty).