Find answers from the community

Updated 3 months ago

Lock

Plain Text
        vector_store = WeaviateVectorStore(weaviate_client=client)
        # print(dir(vector_store))
        storage_context = StorageContext.from_defaults(
            vector_store=vector_store)
        index = VectorStoreIndex.from_documents(
            documents,
            storage_context=storage_context
        )

        retriever = index.as_retriever(retriever_mode='embedding')
        query_engine = RetrieverQueryEngine.from_args(
            retriever, response_mode='no_text')

When I am indexing using weaviate, other users are unable to query other indexes. Its like it locks up weaviate from responding? Is this a weaviate issue or because I am using LlamaIndex?
W
1 comment
I think yes this exists, but there should be async way to upsert new documents in the index while others can query that index at the same time for the in-house VectorStoreIndex.
Add a reply
Sign up and join the conversation on Discord