I have following code , I am using LlamaIndex Vector search`` , my vector search query via LlamaIndex API is failing. Please see the error below
service_context = ServiceContext.from_defaults(embed_model=embed_model)
index = VectorStoreIndex.from_documents(
documents, storage_context=storage_context,service_context=service_context
)
response = index.as_query_engine().query(“Query string”)
I am getting following error : OperationFailure: PlanExecutor error during aggregation :: caused by :: Error connecting to localhost:28000 (127.0.0.1:28000) :: caused by :: onInvoke :: caused by :: Connection refused, full error: {‘ok’: 0.0, ‘errmsg’: ‘PlanExecutor error during aggregation :: caused by :: Error connecting to localhost:28000 (127.0.0.1:28000) :: caused by :: onInvoke :: caused by :: Connection refused’, ‘code’: 6, ‘codeName’: ‘HostUnreachable’, ‘$clusterTime’: {‘clusterTime’: Timestamp(1708018066, 1), ‘signature’: {‘hash’: b"\xb4\xa2\xf9\xfc>U’\x82\r\x06v\xeb\x83r>\x99\x90\xb1\x98$", ‘keyId’: 7334758570434494470}}, ‘operationTime’: Timestamp(1708018066, 1)}