You are currently browsing legacy 1.0 version of documentation. Click here to switch to the newest 5.1 version.
RavenDB in its core is a document database, and as such it is feature complete and very functional. A user may require additional functionality, such that is not implemented by the core, and this is where the bundles come in.
The following bundles are available out of the box, to extend RavenDB's capabilities in several common scenarios:
- Sharding and Replication.
- Quotas - to put size limits on a database.
- Expiration - removes expired documents automatically.
- Index Replication - replicates a RavenDB index to SQL Server.
- Authentication - authenticates DB users using OAuth.
- Authorization - allows to manage user groups, roles and permissions.
- Versioning - automatic versioning of documents upon updates or deletes.
- Cascade Deletes - automatic cascade deletes operations.
- More Like This - Returns documents that are related to a given document.
- Unique Constraints - adds the ability to define unique constraints to RavenDB documents.
In the next chapter we will discuss how to create custom bundles, to address custom user needs.
Installing a Bundle is as easy as dropping the assembly (and all its dependencies if any) into the Plugins directory of the RavenDB installation. Some bundles may also require some minimal configurations.
The path to the Plugins folder is configurable, see (configurations). By default it is (RavenDB server)\Plugins.
Included in the RavenDB distribution package are two scripts, enabling easy installation and update of Bundles.
Which you can use use to get new bundles or update the bundles you already have to a new version.
Note that most bundles have to be setup when you create the database, and they cannot be removed afterward. So consider carefully your bundles strategy. You can usually add a bundle and then configure its behavior (effectively turning it on/off) at runtime, but adding/removing bundles is something that can safely happen only when the database is created.