hi team, when loading an index with storage context after storage context already contains the docstore why does it need to be called with nodes? aren't the nodes already in the docstore and subsequently in the storage_context?
from llama_index.docstore import MongoDocumentStore from llama_index.node_parser import SimpleNodeParser
@disiok for generating multiple indices, when i then persist the storage context after generating these 2 indexes the doc_store contains the same document twice. Am i doing something wrong? list_index = GPTListIndex(nodes, storage_context=storage_context, service_context=service_context) list_index.set_index_id("List Index") vector_index = GPTVectorStoreIndex(nodes, storage_context=storage_context, service_context=service_context) vector_index.set_index_id("Vector Index")