Class AbstractBase64VectorDocument
java.lang.Object
co.elastic.clients.elasticsearch._helpers.vector.AbstractBase64VectorDocument
Utility class that can be extended to be used as vector type document,
which will translate float array vectors in a base64 format accepted by Elasticsearch version 9.3+,
with increased ingestion performance
Check co.elastic.clients.elasticsearch._helpers.vector.Base64VectorTest for example usage
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AbstractBase64VectorDocument
public AbstractBase64VectorDocument()
-
-
Method Details
-
setVector
public void setVector(float[] vec) -
setVector
-
getVector
-