Skip to content

Commit

Permalink
remove soft deletion from storage article
Browse files Browse the repository at this point in the history
  • Loading branch information
guimachiavelli committed Jan 4, 2024
1 parent 6aad9e5 commit 239fc73
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions learn/inner_workings/storage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,3 @@ These metrics are highly dependent on the machine that is running Meilisearch. R
It is important to note that **there is no reliable way to predict the final size of a database**. This is true for just about any search engine on the market—we're just the only ones saying it out loud.

Database size is affected by a large number of criteria, including settings, relevancy rules, use of facets, the number of different languages present, and more.

## Soft deletion

Meilisearch renders deleted documents inaccessible to all users but does not immediately remove them from the database. This is a common optimization technique called soft deletion. Soft deleted documents are permanently deleted during a later update, depending on your index size and the available disk space. It might be important to check how soft deletion interacts with data retention legislation relevant to your application.

Soft deletion also affects document updates: when you update a document, Meilisearch removes the current record and creates a new document with updated data.

0 comments on commit 239fc73

Please sign in to comment.