java-client
java-client copied to clipboard
Official Weaviate Java Client
Some users use very old versions of weaviate and client. We should warn them if it the minor version is 3 or more versions behind the last release. Eg currently...
On unstable connections, the token refresh can sometimes fail which can results in unauthenticated clients. To be able to handle these situations, the client should: - set a default timeout...
We curerntly do not have a formater for the java code. I don't have any preferences so please use the most common one :) This should be added: - In...
We curerntly do not have a linter for the java code. I don't have any preferences so please use the most common one :) This should be added: - In...
Add a function that returns if a given class exists in the schema Proposal signature (copied from python as I don't know Java): `client.schema.exists(className: str) ->bool`
When Weavaite is not able to add objects because of various reasons it returns an error for this object. For some errors (for example a transformer timeout) it makes sense...
When we dig into the CommonsHttpClientImpl, upon each request, it will create new http client, execute and then close https://github.com/semi-technologies/weaviate-java-client/blob/85a837c61e096b8bab0512a14ba2c519d9ae421b/src/main/java/technology/semi/weaviate/client/base/http/impl/CommonsHttpClientImpl.java#L112 The http client created by `HttpClients.createDefault()` has a default connection...
The Python client has a great example that shows what the result looks like when one of the batch objects has an error: https://weaviate-python-client.readthedocs.io/en/stable/weaviate.batch.html#weaviate.batch.Batch.create_objects I would like to see a...
In Weaviate the int datatype is represented as int64 however in the Java client it gets converted to a java.lang.Double which is an 8 byte structure to represent floating points....
Similar model as influxDB which has native clients for various JVM based language in their java client repo: https://github.com/influxdata/influxdb-client-java This would remove the need to convert datatypes between Scala and...