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
0 answers

"After parsing a value an unexpected character was encountered" on RavenDB 3.0

I'm running RavenDB 3.0 as a Windows Service on my machine. There's a collection in the database with 610 documents, and whenever I query it to get them all _session.Query().Take(1024).ToList(); I get the following…
Sergi Papaseit
  • 15,999
  • 16
  • 67
  • 101
1
vote
3 answers

RavenDB for Music Database

I need your advice whether RavenDB would be suitable for building a Music Database. I would like to use the embedded version in a C# Windows Application. Currently the database is based on SQL with normalisation in place, having tables for e.g.…
Helmut
  • 105
  • 1
  • 9
1
vote
2 answers

Problems Updating RavenDB

We use RavenDB inside NServiceBus. I try to update RavenDB from 2.0 to 3.0. Following the documentation, it should be very easy: 1. Stop the service 2. Copy the binaries 3. Start the service. I did all that. I copied the binaries…
Ole Albers
  • 8,715
  • 10
  • 73
  • 166
1
vote
1 answer

Getting weird error when trying to get simple test project and RavenDB to work together

I have downloaded https://github.com/JudahGabriel/RavenDB.ModernMvcStarterKit My version is here https://github.com/Mech0z/Foosball9000 Downloaded the latest RavenDB RavenDB-Build-3528 and changed NLog.ignored.config to NLog.config to enable…
Mech0z
  • 3,627
  • 6
  • 49
  • 85
1
vote
4 answers

RavenDB: Method not supported: All

I'm getting the exception: Method not supported: All on the last line, below: private static Expression> GetWhereClause(ApplicationServer appServer, ApplicationWithOverrideVariableGroup appWithGroup) { // If we're…
Bob Horn
  • 33,387
  • 34
  • 113
  • 219
1
vote
2 answers

How to merge DB rows into a document?

The setup for this question is a bit elaborate, please bear with me :) My scenario is that of migrating data from relational table form to document collection form ("ETL"). My source data is represented in a relational table where each row describes…
urig
  • 16,016
  • 26
  • 115
  • 184
1
vote
1 answer

RavenDB Client 3.0 with casting error

I just upgraded the RavenDB Client via NuGet to 3.0 and my server to 2.5.0 and now I got this casting error in the most simple code. I am fetching data from the db by id var result = session.Load(chartId); The error is Unable to cast…
bjorsig
  • 1,077
  • 2
  • 7
  • 20
1
vote
1 answer

Membership Reboot create/edit new tenant

In MembershipReboot Documentation described ability use few tenants in app. But there are no examples how to implement crud for tenants using ravendb. Please share link or provide…
MaxD
  • 254
  • 1
  • 3
  • 14
1
vote
3 answers

Counting cascaded distincts in RavenDB

I'm facing an index problem for which I can't see a solution yet. I have the following document structure per board: { "Name": "Test Board", ... "Settings": { "Admins": [ "USER1", "USER2" ], "Members": [ "USER3", "USER4",…
1
vote
0 answers

RavenDB results transformer not fully populating result

I have setup the following RavenDB "Result Transformer" to operate on the model included below and outputting the result class as defined below. When the query is executed everything works fine except that the "Id" field in the…
Mike Moore
  • 1,330
  • 1
  • 14
  • 20
1
vote
1 answer

RavenDB update denormalized reference and stale indexes

I have a RavenDB with some collections and about 30 indexes. I'm trying to perform some mass updates in a specific collection (Profiles) via DatabaseCommands.UpdateByIndex and a PatchRequest, actually my code is something like…
tanathos
  • 5,566
  • 4
  • 34
  • 46
1
vote
2 answers

Starts with and full text search on same field in one query using RavenDB

I have an object with a string field stored in a RavenDB. For example: public class SomeObject { public string SomeText = "hello world"; } I want to be able to check both of the following in the same query: Checking if the entire string starts…
Linus
  • 3,254
  • 4
  • 22
  • 36
1
vote
1 answer

Query issue using RavenDb with Serilog

I'm storing Serilog logevents into ravenDb. And now I trying to write a query where all documents with a specific "dynamic" propery should be returned. Here is my query (don't work) var logsWithRole =…
user3228992
  • 1,373
  • 1
  • 16
  • 31
1
vote
1 answer

Can't extract value from expression of type: Parameter

public class Objekt { public Foo[] FooList{ get; set; } } public class Foo { public string Value{ get; set; } } In my query RavenDb, I want to match each Objekt having an entry in FooList which have its string property "Item" starting by…
k4st0r42
  • 1,174
  • 1
  • 15
  • 29
1
vote
1 answer

Restore Embedded RavenDB on top of existing data

I'm trying to do RavenDB backup/restore from within the application. Raven runs in embedded mode. I've got the backups working fine, now I need to do a restore. Problem with restore that I'd like to restore into the same location that is currently…
trailmax
  • 34,305
  • 22
  • 140
  • 234