Skip to main content

Core

Whoosh-NG builds on the battle-tested foundations of the original Whoosh library. This section documents the classic full-text search features that have powered Whoosh for over a decade — the engine, schema, analyzers, scoring, and all the concepts you need to build a reliable search experience.

These features are stable, backwards-compatible with Whoosh 1.x/2.x, and live in the whoosh package. New, optional extensions (vector search, plugins, middleware, storage providers) are documented under Modern.

What you'll find here​

GuideDescription
QuickstartIndex your first documents in five minutes
InstallationInstall Whoosh-NG and its optional extras
Introduction to WhooshWhat Whoosh is and what it can do for you
Core ConceptsIndex, Schema, Writer, Searcher, and data flow
About AnalyzersTokenizers, filters, and the analysis pipeline
Schema DesignField types and how to model your documents
IndexingAdd, update, and delete documents
SearchingRun queries, work with results, sort and filter
Query LanguageThe Whoosh query syntax and QueryParser
Stemming & Stop WordsReduce words to roots and filter noise
N-gramsSubstring, prefix, and autocomplete matching
Dates & Numeric RangesRange queries and faceting on numbers/dates
SortingFacets and sort keys for ordering results
HighlightingBuild highlighted result excerpts
Did you mean...Correct typos in user queries
Query Expansion & KeywordsKey-term extraction and "more like this"
Nested DocumentsParent-child document hierarchies
Concurrency & LockingThreads, write locks, and index versioning
Batch IndexingTips for speeding up large batch indexes
Field CachesCaching behavior for sorting and faceting
Whoosh RecipesHandy code snippets for common tasks

Classic analysis pipeline​

Whoosh turns raw text into searchable tokens through a composable pipeline:

Text → Tokenizer → Filters (lowercase, stop words, stemming) → Indexed terms

The Stemming & Stop Words and N-grams guides show how to customize this pipeline for your language and use case.

Reference​

Next steps​

Ready for the new stuff? Head over to Modern to discover vector search, the plugin system, middleware pipelines, and pluggable storage.