Striping index data

Index data is transferred from the data buffer and written to active or static stripes. Whether data is written to an active or a static index stripe is decided during the indexing session. The current active stripe stores all the data collected during the indexing session if it can accommodate it; otherwise, the active index stripe is emptied into a new static stripe, and all data collected during the indexing session is stored in the new static index stripe.

Active index stripes

Each document store’s collection of index stripes contains exactly zero or one active index stripe. An active index stripe stores all data in memory while keeping a copy on disk for persistence. An active index stripe can always be written to, and, thus may contain data collected over numerous indexing sessions.

When an active index stripe is emptied into a static index stripe, data files from the active index stripe are deleted and the index stripe is discarded. A new active stripe is created the next time an indexing session collects data.

Static index stripes

Each document store’s collection of index stripes contains zero or more static index stripes. A static index stripe is a collection of read-only, disk-oriented data structures.