neo4j-vector-index-skill

Create Neo4j vector indexes and query nearest neighbors via SEARCH clause.

101|35|Updated Jan 20, 2026
One-click install
npx skills add https://github.com/neo4j-contrib/neo4j-skills --skill neo4j-vector-index-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: neo4j-vector-index-skill
Source: https://github.com/neo4j-contrib/neo4j-skills/tree/main/neo4j-vector-index-skill
Command: npx skills add https://github.com/neo4j-contrib/neo4j-skills --skill neo4j-vector-index-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you turn text (or other signals) into embeddings and then create and use Neo4j vector indexes to perform semantic similarity search over your graph data.

Core Features & Use Cases

  • Vector index creation & tuning: Create and configure vector indexes (dimensions, similarity function, HNSW, quantization) and wait until they are ONLINE before querying.
  • Embedding ingestion pipelines: Ingest embeddings either via batch ingestion (UNWIND + setting vector properties) or via in-Cypher embedding using ai.text.embed(), including dimension-safety checks.
  • Vector retrieval & hybrid retrieval: Query nearest neighbors using the SEARCH clause (Neo4j 2026.01+) or the db.index.vector.queryNodes() procedure fallback, then optionally combine results with graph traversal or other ranked sources.

Quick Start

Create a Neo4j vector index for chunk embeddings, ingest embeddings with the same model and dimensions, then run a vector similarity search using the SEARCH clause for your query embedding.

Frequently Asked Questions about neo4j-vector-index-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a vector index in Neo4j and wait for it to be ready?

To create a vector index in Neo4j, use the CREATE VECTOR INDEX command with correct embedding dimensionality and similarity function alignment, then poll the index status until it reports ONLINE before querying nearest neighbors.

What is the best way to ingest embeddings into Neo4j graph nodes in batches?

The best way to ingest embeddings into Neo4j graph nodes is via batch ingestion using UNWIND to set vector properties, or by using in-Cypher embedding with ai.text.embed(), ensuring dimension-safety checks are applied.

How do I perform vector similarity search in Neo4j 2026.01 and later?

To perform vector similarity search in Neo4j 2026.01 and later, query nearest neighbors using the SEARCH clause, optionally combining results with graph traversal logic for hybrid retrieval patterns.

Can I query vector indexes in older Neo4j versions that lack the SEARCH clause?

You can query vector indexes in older Neo4j versions by using the db.index.vector.queryNodes() procedure as a fallback to retrieve semantic nearest-neighbor results when the SEARCH clause is unavailable.

Does Neo4j vector search support hybrid retrieval combining semantic search and graph traversal?

Neo4j vector search supports hybrid retrieval patterns by pairing vector similarity search results with graph traversal logic, enabling structural nearest-neighbor retrieval alongside semantic ranking.

What HNSW quantization and similarity configurations are needed for Neo4j vector indexes?

Configuring Neo4j vector indexes requires setting the correct embedding dimensions, selecting an appropriate similarity function, and applying HNSW quantization options to optimize nearest-neighbor search performance.