Hi
I'm using PrevNextNodePostprocessor with RetrieverQueryEngine. When querying, I receive the error message ValueError: doc_id not found. Please tell me what this error is caused by and how to solve it?
Settings.chunk_size = 512
docstore = SimpleDocumentStore()
documents = SimpleDirectoryReader(f"{Constants.docs_path}").load_data()
nodes = Settings.node_parser.get_nodes_from_documents(documents)
docstore.add_documents(nodes)
node_postprocessor = PrevNextNodePostprocessor(docstore=docstore, num_nodes=4)
query_engine = RetrieverQueryEngine.from_args(retriever, streaming=True, text_qa_template=prompt_tmpl, service_context=service_context, node_postprocessors=[node_postprocessor])