Questions tagged [ravendb]

RavenDB is an Open Source document database for the .NET Core platform (Windows, MacOS, Linux). RavenDB offers a flexible data model designed to fit the needs of real world systems. RavenDB stores schema-less JSON documents, and allows you to define indexes using Linq queries and focus on low latency and high performance.

RavenDB Logo

RavenDB is an Open Source (with a commercial option) document database for the .NET platform. RavenDB offers a flexible data model designed to fit the needs of real world systems. RavenDB stores schema-less JSON documents, and allows you to define indexes using Linq queries and focus on low latency and high performance.

  • Scalable infrastructure: RavenDB builds on top of existing, proven and scalable infrastructure.
  • Simple Windows configuration: RavenDB is simple to setup and run on windows as either a service or IIS7 website.
  • Transactional: RavenDB supports System.Transaction with ACID transactions. If you put data in it, that data is going to stay there.
  • Map/Reduce: Easily define map/reduce indexes with Linq queries.
  • .NET Client API: RavenDB comes with a fully functional .NET client API which implements Unit of Work and much more.
  • RESTful: RavenDB is built around a RESTful API.
  • Ad-hoc queries: RavenDB supports ad-hoc queries and automatically creates indexes on the fly - no need to write indexes upfront.

RavenDB is released under a dual Open Source license and a commercial license. Simply put, that means that it is freely available under the AGPL license but if you want to use this with proprietary software, you must buy a commercial license.

2515 questions
1
vote
1 answer

RavenDB: Can't retrieve individual Ranged Facets

I have some Ranged Facets defined in a FacetSetup document. I like having the ability to retrieve individual Facets from a FacetSetup (by specifying them instead of the Id of the FacetSetup in my call to ToFacets()), so I tried to do that with these…
DJ Grossman
  • 600
  • 6
  • 17
1
vote
2 answers

Encrypted Periodic Backups in RavenDB

We've started using the Periodic Backup bundle in RavenDB to export data from our Server to an Azure Blob Storage Container incrementally. The source database uses the Encryption bundle to safeguard data at rest, however after testing the restore…
Luke Merrett
  • 5,724
  • 8
  • 38
  • 70
1
vote
1 answer

RavenDB query doesn't work from C# but it works in RavenDB Studio?

Actually I want to delete all documents of a kind in a test procedure but I couldn't do that using DocumentStore.DatabaseCommands.DeleteByIndex command , so I tried to see if I could query those entities , Here's my code : var store = new…
Beatles1692
  • 5,214
  • 34
  • 65
1
vote
0 answers

Raven Index not fetching a document

I have a Web app which fetches record from ravendb by executing an index. The issue is that raven index is not fetching a particular record / document and hence it is not showing up on the UI. When I export / import the database in my local machine…
Anshu Dutta
  • 491
  • 2
  • 6
  • 18
1
vote
1 answer

How do I "run" a RavenDb Test?

I've created a project with the help of this: http://ravendb.net/docs/2.0/samples/raven-tests/createraventests And this might be a stupid question. But how do I run the tests to se they fail or not?
user3228992
  • 1,373
  • 1
  • 16
  • 31
1
vote
0 answers

Raven.Client.MonoForAndroid.dll is not found

In a previous post on Hibernating Rhinos there was told that a Raven-client for android development was available for download. Someone who knows were it could be…
user3228992
  • 1,373
  • 1
  • 16
  • 31
1
vote
1 answer

RavenDb Transform with Projection

I have a pretty simple index that returns a flattened structure of Products and here is how I use it: _documentSession.Query(). Customize(x => x.WaitForNonStaleResults()). OrderByDescending(x =>…
SiberianGuy
  • 24,674
  • 56
  • 152
  • 266
1
vote
2 answers

Map Reduce Index with Sorting

We store MessageInfos in RavenDB. An reduced Version of the class looks like this public class MessageInfo { public string Id { get; set; } public string ChannelId { get; set; } public Message Message { get; set; } } Now, we need…
esskar
  • 10,638
  • 3
  • 36
  • 57
1
vote
1 answer

Where can I get Raven.Storage.Esent.dll & Raven.Storage.Managed.dll

I was going through one of the WPF article in which the author of that article has included the following Raven.Storage.Esent.dll & Raven.Storage.Managed.dll. When I downloaded the latest RavenDB bundle I couldn't find both the dlls. Can any one…
Dhana
  • 35
  • 5
1
vote
1 answer

Index data structure for RavenDB

Both MongoDB and CouchDB use B-trees as an underlying data structure for storing indexes. Anyone knows what is the equivalent for RavenDB? There is nothing mentioned about this in the documentation. Thanks!
mateusz.b
  • 103
  • 1
  • 7
1
vote
0 answers

RavenDB and MsSql inside same transaction scope results in WebException

In response to another question on stackoverflow RavenDB does not play nicely with Transaction Scope i have created a test case where i isolate my transactions for storing and reading. In my test case i am making a call to a raven document store and…
1
vote
4 answers

C# - NO Sql Database with Dynamic Object Advice

I am considering using NO SQL databases such as MongoDb, RavenDb or any other ones recommend I would consider. Can someone give me some advice, tutorials and useful links regarding my following question. This system I want to write must be dynamic…
Lemex
  • 3,772
  • 14
  • 53
  • 87
1
vote
2 answers

RavenDB is not tracking entity changes

I have the following code that opens a session with RavenDB, gets the relevant IDs, uses those ideas to load the entities, change them, and finally save them. List events; using (var session = raven.OpenSession()) { …
Fedor Finkenflugel
  • 335
  • 1
  • 4
  • 15
1
vote
1 answer

RavenDB connection issues

We have seen a noticeable uptick in problems related to RavenDB connections. We're using the IIS server connection method. I've checked the index errors and I don't see anything listed. This server is replicated with a MySQL server and there is one…
Ryan Eastabrook
  • 4,085
  • 5
  • 30
  • 35
1
vote
1 answer

How to query RavenDB for document containing nested object of specified type

I have a RavenDB query using index and I need to add condition checking nested objects type (these objects aren't separate documents) entries = session.Query() /* some conditions here */ .Where(x => x.Messages.Any(m => m.GetType()…
Sarrus
  • 586
  • 7
  • 21