Skip to main content

Modern

Whoosh-NG is more than a fork — it is the evolution of Whoosh for modern Python applications. This section documents the optional, opt-in extensions that make Whoosh-NG production-ready in today's stacks: semantic vector search, a plugin architecture, a middleware pipeline, linguistics, and pluggable cloud storage.

All features here are optional extras: the core engine has zero mandatory third-party dependencies. Classic features live under Core.

Highlights​

┌─────────────────────────────────────────────────────────────┐
│ Whoosh-NG Modern Extensions │
├─────────────────────────────────────────────────────────────┤
│ 🔌 Plugins → PluginManager, entry-point discovery │
│ 🧩 Middleware → cross-cutting indexing/search hooks │
│ 🧠 Vector Search → NumPy, HNSW, Faiss, Qdrant providers │
│ 🌐 Linguistics → synonyms, language-aware analyzers │
│ 🔤 Stemming → PyStemmer-backed provider system │
│ ☁️ Storage → S3, hybrid cache + remote backends │
│ ⚡ Performance → benchmarks and optimization guides │
└─────────────────────────────────────────────────────────────┘

Guides​

GuideDescription
PluginsThe plugin architecture and how to register extensions
Plugin SystemPluginManager API and lifecycle
MiddlewareThe middleware base classes and context
Middleware & Plugin PipelineCompose cross-cutting concerns
AutocompleteAutocomplete providers
Autocomplete ProvidersNGram, Fuzzy, InvertedIndex backends
Vector SearchSemantic search with embeddings
Modern IndexingBatchIndexWriter, AnalyzerCache
MonitoringMetrics and observability
PerformanceBenchmarking and optimization
Linguistics & SynonymsSynonymManager and linguistic engine
Stemmer ProvidersPyStemmer backends and auto-detection
Storage ProvidersHybrid, S3, and async storage backends
Auto-indexingSchema discovery and data-source driven indexing
Provider IntegrationEnd-to-end pipeline integration
Configuration EngineTyped configuration surface

Where to start​

  1. New to Whoosh-NG? Begin with Core → Quickstart.
  2. Want semantic search? Jump to Vector Search.
  3. Building a web service? See Plugins and Storage Providers.

💡 Tip: the classic Stemming and N-grams guides now live under Core, since they are part of the original Whoosh feature set.