Questions tagged [ravendb-studio]

The RavenDB Management Studio is a lightweight Silverlight client to let you easily manage the data in a RavenDB server instance. Using the Studio you can view, create, edit or delete documents, manage indexes, issue queries, view the errors log, import / export, and more.

Filter by
Sorted by
Tagged with
2 votes
0 answers
21 views

RavenDB import from relational database

Is it possible to import data from a relational database to RavenDB using a complex query? This query joins several tables, more than 20 in a very complex way, something that is not achievable using ...
  • 2,048
2 votes
1 answer
99 views

i want to insert a json file in RavenDb with python

I am looking for a method, on how can I insert values as JSON format in RavenDB with python. code: cert = {'pfx': '...', 'password': '...'} document_store = document_store.DocumentStore(["...
  • 79
3 votes
1 answer
61 views

RavenDB embedded with Raven Management Studio?

Is it still possible to use the Raven Management Studio with embedded? I only find 10 year old Questions with guides that use Parameters/options that don't exist anymore.
3 votes
1 answer
52 views

RavenDB Restore Stuck

We are trying to restore Ravendb from the backup file. We are using Raven studio. The restore process copied index files from the backup to the new location but it's stuck at the below step: Esent ...
4 votes
1 answer
132 views

RavenDB: How to index dictionary keys on a multi-map index?

I've got the below RavenDB MultiMap index that works and returns results. Now when I want to use the query and try to filter data I get the following message: The field 'Stock_Key' is not indexed, ...
  • 4,484
3 votes
1 answer
114 views

Add a field to a document in raven 3.5 where the property doesn't exist

In my instance of raven3.5 I have a collection and some documents have an extra property due to a change in the document structure. Now I need to query on that property but many older documents don't ...
  • 103
2 votes
2 answers
155 views

RavenDb add property using RQL

Is there a way to add a property to all documents in a collection using RQL(Patch)? Bulk-Insert is a possible solution, but it's required to write c# code, which is not a fast solution to achieve, ...
  • 402
5 votes
1 answer
126 views

RavenDb: Document Refresh feature does not run at nor after the specified time by @refresh flag

I need to mark documets as expired after some time and therefore I am trying to use @refresh feature to re-run subscription and to compute my 'expired' flag. I know there is 'Document expiration' ...
  • 53
3 votes
1 answer
140 views

How to execute delete and update operations in RavenDB

Just a simple, question reading through the official RavenDB documentation , I understand you are able to execute these operations with the client API functions but you can't with RQL , or is anyway ...
6 votes
1 answer
164 views

Extract Json property from RavenDB

I want to extract Json property from Raven DB database. I am extracting it from Ravendb studio from index as below. In below query, parameter Body is of type json and I want to extract its one field (...
1 vote
2 answers
227 views

Creating an index in Ravendb that makes object array searchable

In Raven I am saving json documents, I wish to make an index that makes an object array in this json searchable. An example from this is the following json structure. "OrderProperties": [ ...
3 votes
2 answers
271 views

How to query Ravendb document size

I have a scenario in which I need to find the largest documents in my Ravendb database. When I select any given document in Ravendb Studio, the size is displayed in the Properties section as circled ...
  • 5,482
6 votes
1 answer
572 views

Remove field from collection in RavenDB Studio

I am trying to remove a property (whose addition to the documents I asked for help with, see here ), using RavenDB Studio (I accidentally added them to the wrong database collection...). Again, I'm ...
2 votes
2 answers
47 views

Syntax question on reduce part of RavenDB index, average calculation

I am struggling with the correct syntax for an averaging column. What I have - from RavenDB Studio editor: Map: from area in docs.Level5_AdministrativeAreas select new { area.NAME_4, ...
2 votes
1 answer
275 views

Add extra column/field to RavenDB collection via RQL in Raven Studio

I'm trying to update the entire collection by adding an extra field to each entity. This doesn't do the trick: from things as t update { put( id(t), "NewField"); } Can someone help out with ...
1 vote
0 answers
40 views

RavenDB RQL GoupBy Support

I have a requirement to retrieve data from RavenDB by using groupby. I am not sure how to apply the query in RavenDB using RQL. The similar query for SQL Server has been provided, please help me to ...
0 votes
1 answer
223 views

RavenDB Lets encrypt security mode failed

I am trying to set the IP addresses and ports and i have tried a couple. 127.0.0.1 on port 8080 127.0.0.1 on port 3000 And i try to continue and it gives me a configuration failed error (See Below) ...
2 votes
1 answer
441 views

How do I update a value within an array in Ravendb? I need to use Query

I have several documents. Below I will list just two. How do I update the value of the "Value field" that is below the "Name field: StartDate" in all documents? Example: 10/10/2019 to 09/09/2019 01/...
1 vote
1 answer
81 views

RavenDB Northwind import from SQL - Why is employee_privileges not given a collection?

Recently I've been playing around with RavenDB. I have specifically been testing its ability to import from a MySQL database, in this case, a Northwind dataset (specifically, the dataset provided ...
2 votes
1 answer
160 views

How do I find attachments in ravendb 3.5?

I'm currently debugging some code which is supposed to return an attachment for a given document, but no attachment is coming back. Raven studio indicates that there are attachments in the database - ...
1 vote
1 answer
55 views

RavenDB: Object Field Value Being Rounded At Random

First up, I want to apologise for the somewhat ambiguous question title, but I have literally no idea how else to describe this bizarre issue. Effectively, I have a document store inside of RavenDB, ...
  • 63
3 votes
2 answers
488 views

While creating new document in ravendb, collection name is missing in metadata, and the document is marked under @empty collection

I am trying to create a new collection in ravendb using the apollo node client. Although the document is created and stored in ravendb, the "collection" value from metadata is missing. And as a result ...
  • 73
1 vote
1 answer
157 views

How to query in RQL for special characters like $ in the property path expression like $type

In a ravendb-studio I like to use a RQL-query to query for documents where an property $type has some value. I tried something like from EventLogEntries where $type in ("...", "...") But it throws ...
  • 185
2 votes
0 answers
46 views

How to create ETL programatically in RavenDB 3.5?

I have a RavenDB database "XYZ" with a collection "Products". On a certain point in my console application. I was to create another RavenDB database "DataStaging_XYZ" and replicate the "Products" ...
  • 699
2 votes
2 answers
816 views

Authentication error occurred in RavenDB Studio

I have installed and configured RavenDB in one of the server environment. (Windows 2012) I need to secure the Ravendb Studio, hence created self-signed certificate and applied the changed in the ...
0 votes
1 answer
80 views

How to query all the databases in Raven db using Raven studio

I have this query which I want to execute on all the databases present in my Raven server from result in results where result.deleted == false select new { result.Name } Currently I can execute ...
  • 573
0 votes
1 answer
64 views

RavdnDb auto index

I Have this models in RavdnDb version 4.0: public class AppUser { public AppUser() { ActiveInApps = new Dictionary<string, ActiveApp>(); } public string Id { get; set; } ...
0 votes
2 answers
1k views

The installer has encountered an unexpected error installing this package - .Error code 2896

I am currently trying to install ravendb on a prod server. The licens file I am using, is the same being used for another test/prod server. The installation seem to chrash all the time when i pass ...
  • 75
9 votes
3 answers
694 views

RavenDB ID prefix and REST API

I'm currently struggling with something that should be trivial, and maybe it is, but I can't find a decent solution. My problem originates with RavenDB default ID structure. Let's say we use the HiLo ...
  • 7,330
0 votes
1 answer
84 views

Triggering csv import for RavenDB from the command line

I was wondering if it is possible to integrate the csv import into a powershell/bash script (even if that means doing something with curl or friends). Essentially, what is achieved by the clicks on "...
1 vote
1 answer
582 views

Reset all corrupted indexes of all databases on a RavenDb server by script

I have a RavenDb server with over 200 databases each with 5 - 10 indexes. Recently, the server went very low on disk space, and most of the indexes become corrupted due to this and need to be reset. ...
  • 5,973
1 vote
1 answer
461 views

How to activate Unique Constraint on the RavenDB serverside?

I'm using version 3.5 and read the documentation here https://ravendb.net/docs/article-page/3.5/Csharp/server/bundles/unique-constraints#installation on how to install/activate it on the serverside. ...
0 votes
2 answers
150 views

Raven DB There is no reduce index named: 97

I have a problem with a Raven db index that suddenly stopped working properly. public class GetStockListForCustomerIndex : AbstractIndexCreationTask<CustomerStock, GetStockListForCustomerIndex....
3 votes
1 answer
98 views

RavenDB 4 RC2: Cannot execute command of type PutAutoIndexCommand for database - Can not update auto-index:

I am using a RavenDB 4 RC 2 database. Some of my database auto generated indexes keep 'freezing' and causing errors in my API. Deleting the frozen index provides a short term solution. But even though ...
  • 4,484
1 vote
1 answer
85 views

RavenDB "Connection Was Reset" - After Enabling SSL

I am having some trouble with RavenDB after enabling SSL. I have followed the instructions on the RavenDB documentation for enabling SSL which can be found here. Namely, I updated the Raver.Server....
1 vote
0 answers
99 views

RavenDB-2.5 database restore process throwing error "Database already exists, cannot restore to an existing database"

I followed URL to do database backup and restore process of RavenDB 2.5 but it has throwing error in every computer while restoring database only. I can successfully backup my database but not able to ...
3 votes
1 answer
476 views

Getting an error about WebSocket from RavenDB on IIS/Windows Server 2016

I'm trying to running RavenDB from IIS on Windows Server 2016. I've followed Installation : Running as an IIS application. It's running but gives an error. Error Title: Your server doesn't support ...
  • 3,656
0 votes
1 answer
25 views

RavenDb proximity search

I have an entity type: public class Log { public int Id { get; set; } public string Action { get; set; } public string Message { get; set; } } And my Index: public class LogIndex : ...
  • 696
0 votes
2 answers
40 views

Can RavenDB create an index for a hyphenated collection name?

I'm trying to create an index from within RavenDB Studio for a collection named employee-tickets but I can't seem to find the correct syntax. Does anyone know the secret? I've tried from t in docs["...
  • 4,925
1 vote
0 answers
53 views

RavenDb File Storage issue based on 3.0.3 version

We have a critical file storage issue of RavenDb. The context is we have a Web application server and a separate File service server based on RavenDB. The user tries to upload a file with the name ...
  • 21
1 vote
1 answer
388 views

Selecting documents with empty strings in RavenDB Studio

This ought to be simple enough, but I can't get a select statement going in RavenDB Studio where I say "give me all documents where field NAME_x is empty". The usual suspects don't yield anything: ...
0 votes
0 answers
120 views

RavenDB scripted patch from raven studio not run

I try to run a patch request from Raven Studio on a large collection (over 8000000 documents) and the patch seems doesn't work, I don't see any changes on the documents but if I run it on a single ...
0 votes
2 answers
214 views

Is it possible to do string-replacements in RavenDB javascript-patches?

Case: when spawning new dev-environments, I would like to go through some collections and change TLD's in certain string-values, so e.g. "bla bla mydomain.com" becomes "bla bla mydomain.localhost". I ...
0 votes
1 answer
123 views

How do I view an embedded RavenDB database? [duplicate]

RavenDB server comes with a web UI Studio letting to look what's inside. But what's the way to take a look in an embedded RavenDB?
  • 62.5k
1 vote
0 answers
56 views

Creating index in ravendb with Nodatime's LocalDate

I hope somebody can help me. I'm using Ravendb with the Nodatime bundles, and so far I didn't have any problem with it until I wanted to use some nodatime methods during index creation. Product: ...
  • 1,680
0 votes
1 answer
91 views

Accessing data imported into RavenDB via CSV import

I have successfully imported geodata (originally from a shapefile, converted to CSV) into my RavenDB. I am now trying to access the data with a naive, simplistic select (sanity check to see if ...
0 votes
1 answer
213 views

patching a collection to add a field

I'm wanting to patch a RavenDB to add a field to a collection but am just getting errors using the suggested syntax. (I'm probably not understanding what I'm supposed to use) I've tried the following ...
  • 287
0 votes
1 answer
331 views

Raven DB filter on subset of array items and sort on the cheapest of the filter results items

Assuming i have an parent class that I filter on various properties, one of which is a property that is an array of items . Now say that i want to only return the parent item if my array of items as ...
1 vote
1 answer
112 views

How can RavenDB patch JSON objects?

Using Raven Studio's patch interface, I have the following patch script: this.Market = this.Market.replace(" Los Angeles","Los Angeles") to remove a prepended space. Which would be fine for a field ...
0 votes
1 answer
444 views

RavenDb UniqueConstraint doesn't work

I'm using RavenDb Server and Client 3.5.0 and I have tried to get UniqueConstraint work without success. The simple case: using Raven.Client.UniqueConstraints; public class User { public string ...
  • 1,086