Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Vector Search

ashwin271ashwin2712k downloads

Semantic search for your notes using Ollama and nomic-embed-text embeddings. Requires Ollama installation.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates3

This plugin adds semantic search capabilities to Obsidian using Ollama's embedding API. It allows you to find semantically similar notes based on content rather than just keyword matching.

Features

  • 🔍 Semantic search across your entire vault
  • 🤖 Powered by Ollama's embedding model
  • 📊 Configurable similarity threshold
  • 🚀 Fast local search once embeddings are generated
  • ⚡ Automatic file change detection and updates
  • 📝 Smart text chunking strategies
  • 🔄 Efficient incremental updates

Prerequisites

1. Ollama Setup

  • Install Ollama for your platform:
    • macOS: Download from ollama.ai
    • Linux: Run curl -fsSL https://ollama.ai/install.sh | sh
    • Windows: Currently in beta, follow instructions on ollama.ai
  • Verify installation by running ollama --version in terminal
  • Start Ollama service:
    • It should run automatically on macOS
    • On Linux: systemctl start ollama or run ollama serve
    • On Windows: Run Ollama from Start Menu

2. Model Installation

  • Pull the required embedding model:
ollama pull nomic-embed-text
  • Verify model installation:
ollama list
  • Expected size: ~500MB
  • First-time embedding generation might be slower

3. System Requirements

  • Minimum 1GB RAM for Ollama service
  • ~500MB disk space for the model
  • Stable internet connection for initial model download
  • Port 11434 must be available (default Ollama port)

4. Troubleshooting

  1. If Ollama service isn't responding:

    curl http://localhost:11434/api/embeddings
    

    Should return a response (even if error)

  2. Common issues:

    • Port 11434 in use: Change port in Ollama config
    • Permission denied: Run with sudo on Linux
    • Model download fails: Check internet connection
    • High CPU usage: Normal during first few runs

Installation

  1. Clone this repo to your .obsidian/plugins/ folder
  2. Install dependencies: npm install
  3. Build the plugin: npm run dev
  4. Enable the plugin in Obsidian's settings

Usage

  1. Initial Setup

    • Go to Settings > Vector Search
    • Configure your Ollama URL (default: http://localhost:11434)
    • Set your desired similarity threshold (0-1)
  2. Building the Index

    • Click the vector search icon in the ribbon
    • Wait for all notes to be processed (progress will be shown)
  3. Searching

    • Select any text in a note
    • Use the command "Find Similar Notes" (or set up a hotkey)
    • View results in the popup modal

How it Works

  1. The plugin creates vector embeddings for all your markdown notes using Ollama
  2. When you search, it:
    • Creates an embedding for your selected text
    • Uses cosine similarity to find the most similar notes
    • Shows results above your configured threshold

Development

  • npm run dev - Start compilation in watch mode
  • npm run build - Build the plugin
  • npm test - Run tests

Logs

The plugin logs all API calls and operations to the Developer Console (Ctrl+Shift+I or Cmd+Option+I on Mac). This includes:

  • Embedding API requests
  • Index building progress
  • File processing status
  • Any errors or issues

Configuration

{
    "ollamaURL": "http://localhost:11434",
    "searchThreshold": 0.7,
    "chunkSize": 500,
    "chunkOverlap": 100,
    "chunkingStrategy": "paragraph",
    "fileProcessingDebounceTime": 2000
}

Chunking Strategies

  • Paragraph: Splits text by paragraphs (default)
  • Character: Splits text by character count with overlap

File Processing

  • Automatically detects file changes
  • Updates vectors when files are modified
  • Handles file renames and deletions
  • Debounced processing to prevent overload
76%
HealthGood
ReviewSatisfactory
About
Search your vault semantically using Ollama embeddings to find notes by meaning rather than keywords. Set similarity thresholds, get fast local results once embeddings are generated, and keep indexes updated automatically as files change.
SearchAIIntegrations
Details
Current version
0.3.0
Last updated
4 months ago
Created
Last year
Updates
3 releases
Downloads
2k
Compatible with
Obsidian 1.7.7+
Platforms
Desktop only
License
MIT
Report bugRequest featureReport plugin
Sponsor
Buy Me a Coffee
Author
ashwin271ashwin271
github.com/ashwin271
GitHubashwin271
  1. Community
  2. Plugins
  3. Search
  4. Vector Search

Related plugins

Smart Connections

AI link discovery copilot. See related notes as you write. Lookup using semantic (vector) search across your vault. Zero-setup local model for embeddings, no API keys, private.

Agent Client

Chat with Claude Code, Codex, Gemini CLI, and more via the Agent Client Protocol — right from your vault.

Smart Composer

AI chat with note context, smart writing assistance, and one-click edits for your vault.

Semantic Notes Vault MCP

Give Claude Desktop and other AI assistants semantic access to your notes through a built-in Model Context Protocol (MCP) server.

Snipd Official

Sync Snipd podcast highlights to your vault with transcript, notes, AI summaries and metadata.

BMO Chatbot

Generate and brainstorm ideas while creating your notes using Large Language Models (LLMs) such as OpenAI's "gpt-3.5-turbo" and "gpt-4".

Local LLM Helper

Use a local LLM server to augment your notes

Local REST API & MCP Server

Unlock your automation needs by interacting with your notes over a secure REST API.

Omnisearch

Intelligent search for your notes, PDFs, and OCR for images.

Copilot

Your AI Copilot: Chat with Your Second Brain, Learn Faster, Work Smarter.