Skip to content

Releases: pinecone-io/pinecone-java-client

Release 0.3.0

23 Aug 15:40
4875867
Compare
Choose a tag to compare

Changelog

We have introduced the following two index operations:

  1. Creating an index is now possible using the required fields index_name and dimension, along with optional fields such as metric, pods, replicas, pod_type, metadata_config, and source_collection.
  2. Additionally, you can now delete an index using the index_name parameter.

Examples:

  1. Create Index:
// The following example creates an index without a metadata configuration. By default, Pinecone indexes all metadata.
PineconeClientConfig configuration = new PineconeClientConfig()
        .withApiKey("YOUR_API_KEY")
        .withEnvironment("us-east1-gcp");
PineconeIndexOperationClient pineconeIndexOperationClient = new PineconeIndexOperationClient(configuration);
CreateIndexRequest createIndexRequest = new CreateIndexRequest()
        .withIndexName("example-index")
        .withDimension(128);
pineconeIndexOperationClient.createIndex(createIndexRequest);

// The following example creates an index that only indexes the "color" metadata field.
IndexMetadataConfig metadataConfig = new IndexMetadataConfig();
metadataConfig.addIndexedItem("color");
CreateIndexRequest createIndexRequest2 = new CreateIndexRequest()
        .withIndexName("example-index-2")
        .withDimension(1024)
        .withMetadataConfig(metadataConfig);

pineconeIndexOperationClient.createIndex(createIndexRequest2);
  1. Delete Index:
// The following example deletes an index
PineconeClientConfig configuration = new PineconeClientConfig()
        .withApiKey("YOUR_API_KEY")
        .withEnvironment("us-east1-gcp");
PineconeIndexOperationClient pineconeIndexOperationClient = new PineconeIndexOperationClient(configuration);
pineconeIndexOperationClient.deleteIndex("example-index");

v0.2.3

14 Apr 19:57
Compare
Choose a tag to compare

This release updates some old dependencies across the board.
Additionally, introduces ability to add SparseValues to vectors for hybrid search capabilities

v0.2.2

15 Jun 13:23
Compare
Choose a tag to compare

Adds abiltiy to:

  • query by id and unary query
  • delete by metadata
  • partial metadata updates

v0.2.1

13 Mar 09:57
Compare
Choose a tag to compare

Fixes an issue caused by the build process that imported unnecessary proto files, caused an issue when building fat jars.

Version 0.2.0

01 Mar 10:27
b516757
Compare
Choose a tag to compare

This is mostly a new client, based on a new ProtoBuf specification of the Pinecone API. This version is not compatible with previous version, but exposes all action available on existing Pinecone indexes.

pinecone-client v0.1.3

28 May 03:41
Compare
Choose a tag to compare

This is the first release that will be released to Maven Central. Only build-time functionality is changing in this release.

pinecone-client v0.1.2

14 May 01:18
Compare
Choose a tag to compare
update readme and bump version