params/VAddParams.java

jedis · src/main/java/redis/clients/jedis/params/VAddParams.java · java · MIT
database

Fluent builder for Redis VADD vector search command parameters.

// Source: https://github.com/redis/jedis | License: MIT | Copyright 2021-2023, Redis, inc
// Provided via justclaw.it.com; keep this notice with the code.
package redis.clients.jedis.params;

import redis.clients.jedis.CommandArguments;
import redis.clients.jedis.Protocol;
import redis.clients.jedis.annots.Experimental;

/**
 * Parameters for the VADD command.
 */
@Experimental
public class VAddParams implements IParams {

  private boolean cas;
  private QuantizationType quantization;
  private Integer ef;
  private String attributes;
  private Integer m;

  public enum QuantizationType {
    NOQUANT, Q8, BIN
  }

  public VAddParams() {
  }

  /**
   * Performs the operation partially using threads, in a check-and-set style. The neighbor
   * candidates collection, which is slow, is per

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key