index.docstore.docs
will return a dict of id
-> node
for all databut it seems like it only allows me to get only documents that follow the exact rule and not to exclude them
all_docs
anywheredef _retrieve(self, query_bundle: QueryBundle) -> List[NodeWithScore]: """Retrieve nodes given query.""" all_data = list(self._vector_retriever._index.docstore.docs.values()) all_nodes = [NodeWithScore(node=x, score=1.0) for x in all_data] return all_nodes