OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Developer Tools & SDKs

Redis Vector Library (RedisVL)

Redis Vector Library (RedisVL) is a Java client library for connecting AI applications to Redis and managing vector-oriented indexes, data and searches.

Independent OpenViST project profile, based on linked sources.

Redis Vector Library (RedisVL) — OpenViST project profile in AI Developer Tools & SDKs.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use RedisVL when a Java application needs client-side helpers for Redis index management and vector retrieval, or when you want the documented Redis-based model-response recording and replay facility.

Who it is for

  • Java developers building Redis-backed semantic search or retrieval-augmented generation applications.
  • Teams adding vector and metadata-filtered search, semantic caching or hybrid search to Java AI workflows.
  • Developers who want to record and replay LangChain4J model responses through the documented VCR test support.

Documented uses

  • Define Redis index schemas with vector and other indexable fields.
  • Create indexes, load and fetch records, and query vector data with metadata filters.
  • Combine text and vector similarity through the documented hybrid-search workflow.
  • Record or replay model responses in tests using the VCR support.
Before you choose

Requirements & limits

The repository is public and identifies the project as MIT-licensed. The README describes Maven and Gradle installation.

  • Requires Java 17 or newer and a separate Redis deployment.
  • The README specifies Redis 8.0+ for built-in search and vector features, and Redis 8.4+ for native FT.HYBRID support.
  • The documented VCR playback mode can use existing cassettes without an API key; recording live model responses requires an API key.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Set up a RedisVL Java project and Redis connection

Add the library to a Java project and prepare the Redis connection and index setup shown in the project documentation.

Before you start

  • Java 17 or newer
  • Maven or Gradle
  • A Redis deployment; the README lists Redis Cloud, Redis on Docker, Redis Enterprise and Azure Managed Redis

Steps

  1. Add the com.redis:redisvl:0.12.2 dependency using Maven or Gradle.

  2. Start or select a Redis deployment that meets the project requirements.

  3. Define an index schema in YAML or a Java map, then load it with IndexSchema.fromYaml or IndexSchema.fromMap.

  4. Create a UnifiedJedis connection and a SearchIndex using the schema.

Expected outcome

A Java project has the RedisVL dependency and the documented objects for connecting to Redis and defining an index.

Guide limitations

  • The setup steps do not cover a complete application workflow or verify a successful connection.
  • The README lists Redis 8.0 or newer for built-in search and vector capabilities; native FT.HYBRID support requires Redis 8.4 or newer.
Source-based practical guide

Load records and issue a vector search

Use the documented RedisVL index API to load records and query a vector field.

Before you start

  • A Java 17+ project with RedisVL added
  • A Redis 8.0+ deployment
  • A RedisVL schema and SearchIndex connection as described in the project README
  • Records containing vector values and a query vector compatible with the index field

Steps

  1. Create the index with index.create(true) using the documented SearchIndex.

  2. Load a list of maps with index.load(...), specifying the record ID field.

  3. Build a VectorQuery with a vector, index field and result count.

  4. Call index.query(query); optionally add a documented tag filter with withPreFilter before querying.

Expected outcome

The documented code path loads records and returns matching search results from a Redis vector index.

Guide limitations

  • The example demonstrates a four-dimensional float vector; applications must define data and query vectors suited to their own index schema.
  • The README's example does not establish application-specific retrieval quality or performance.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
16 October 2026
Original website title
redis/redis-vl-java · Official homepage title · retained in its source language