I was trying to connect using the Java client 0.6.0 . Received the below error .
Exception in thread “main” io.grpc.StatusRuntimeException: INVALID_ARGUMENT: The ‘queries’ parameter has been deprecated.
at io.grpc.stub.ClientCalls.toStatusRuntimeException(ClientCalls.java:268)
at io.grpc.stub.ClientCalls.getUnchecked(ClientCalls.java:249)
at io.grpc.stub.ClientCalls.blockingUnaryCall(ClientCalls.java:167)
at io.pinecone.proto.VectorServiceGrpc$VectorServiceBlockingStub.query(VectorServiceGrpc.java:513)
at org.example.PineConeConnector.main(PineConeConnector.java:88)
Hi @shyamu.in. The queries parameter was deprecated some time ago; to run a query using the Java client, you now want to use a list instead of the QueryBuilder object. You can see an example of how to do this in this forum post from one of our Java engineers.
We have some improvements coming out soon that should simplify this, too. Please keep an eye on our release announcements, or the Github repo for the client.