From charlesreid1

Revision as of 22:15, 17 February 2020 by Admin (talk | contribs) (Created page with "=Whoosh Index= ==About the Index class== The whoosh Index class provides high-level methods to the Search class, like "add document" or "update document" or "remove document...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Whoosh Index

About the Index class

The whoosh Index class provides high-level methods to the Search class, like "add document" or "update document" or "remove document".

At the heart of the Index class is the analogy of items in the index to documents in a filesystem. Each index is like a filesystem, and adding a single document to a search index is equivalent to adding a new file to thgat filesystem.

This analogy is also useful in understanding Whoosh's Storage class.