Questions tagged [arangodb]

ArangoDB is a multi-model NoSQL database with a flexible data model for documents, graphs, and key-values collections.

ArangoDB is a multi-model NoSQL database with a flexible data model for documents, graphs, and key-values collections. It targets high-performance applications using a convenient declarative query language AQL and JavaScript extensions.

Useful links

Articles


Related tags :

1967 questions
6
votes
1 answer

ArangoDB / AQL Update Nested Documents

Given the following document structure: { "_key": "abc", "_id": "abc", "label": "Company ABC", "departments": [ { "name": "Department 123", "id": "123" }, { "name": "Department 456", "id": "456" } …
Leia
  • 94
  • 3
  • 14
6
votes
3 answers

Linq List Contains

I am using ArangoDB and I am querying a collection named movies. Its data structure is such that categories is a List of strings. public class movies { [DocumentProperty(Identifier = IdentifierType.Key)] public string Key; public…
Darren
  • 152
  • 9
6
votes
2 answers

How to permanently unset an attribute of ArangoDB document?

I want to remove an attribute from a document in ArangoDB. I thought the correct method for this was with the function UNSET(doc, attributeName1, ..., attributeNameN). However, with this alone, nothing is changed in the database. Example: let…
Thomas Fauskanger
  • 2,536
  • 1
  • 27
  • 42
6
votes
1 answer

Arangodb update properties depend on edge type

I am trying to use AQL to update the whole node collection , named Nodes, depend on the type of edges they have . Requirement: Basically, if 2 entity in Nodes has relation type= "Same", they would be updated with unique groupid properties (same for…
Loredra L
  • 1,485
  • 2
  • 16
  • 32
6
votes
1 answer

ArangoDB: Insert as function of query by example

Part of my graph is constructed using a giant join between two large collections, and I run it every time I add documents to either collection. The query is based on an older post. FOR fromItem IN fromCollection FOR toItem IN toCollection …
Nate Gardner
  • 1,577
  • 1
  • 16
  • 37
6
votes
1 answer

ArangoDB: Aggregating counts via graph traversal

In my ArangoDB graph, I have a subject, message threads associated with that subject, and messages inside those message threads. I would like to traverse the graph in such a way that I return the data associated with the message thread as well as…
Nate Gardner
  • 1,577
  • 1
  • 16
  • 37
6
votes
1 answer

ArangoDB: Get every node, which is in any way related to a selected node

I have a simple node-links graph in ArangoDB. How can I traverse from 1 preselected node and return all nodes which are related to it? For example: A→B, B→C, C→D, C→E, F→B, F→E Selecting any of them should return the same result (all of them). I am…
Loredra L
  • 1,485
  • 2
  • 16
  • 32
6
votes
3 answers

INTERSECTION of (n) arrays in ArangoDB AQL

The scenario is this: I have an ArangoDB collection containing items, and another collection containing tags. I am using a graph, and I have an edge collection called "Contains" connecting the items and tags. An item has multiple tags. Now I am…
Joachim Bøggild
  • 614
  • 5
  • 15
6
votes
3 answers

How to restart/stop arangodb server on mac osx

I'm following the first section of the documentation for arangodb 2.7.3. I've made it as far as brew install /usr/local/sbin/arangod & The very next section after install on basic cluster setup is written for folks using linux. It asks you to…
ThinkingInBits
  • 10,792
  • 8
  • 57
  • 82
6
votes
4 answers

Does Sails.js or Meteor.js work with ArangoDB or OrientDB?

I'm planning to work on a social site and I would like to leverage both a document and graph database for all of the desired features. Is there a way to get Meteor.js or Sail.js (or any better) to work with ArangoDB or OrientDB? Or should I just…
6
votes
1 answer

ArangoDB how apply 'Group by' (COLLECT or ...?)

How can I group my data in ArangoDB with AQL? For example, my structure is: [ {name: "karl", id: "1", timestamp: "11112"}, {name: "migele", id": "2", timestamp: "11114"}, {name: "martina", id": "2", timestamp: "11116"}, {name:…
jonua
  • 1,915
  • 3
  • 17
  • 27
6
votes
2 answers

Arangodb LET variable from AQL for use it in FILTER

I have collection 'Notifier'. Given the following example document of this collection: { "timestamp": 1413543986, "message": "message", "readed": { "user_8": 0, "user_9": 0, "user_22": 0 }, "type": "1014574149174" } I try find…
6
votes
1 answer

Aggregation in arangodb using AQL

I'm attempting a fairly basic task in arangodb, using the SUM() aggregate function. Here is a working query which returns the right data (though not yet aggregated): FOR m IN pkg_spp_RegMem FILTER m.memberId == "40289" COLLECT member = m.memberId…
Martin
  • 63
  • 1
  • 6
6
votes
1 answer

Does ArangoDB have faceted search?

Does anyone know whether ArangoDB supports faceted search and how performance compares to other products that support it well (e.g., Solr, MarkLogic) or those that don't (e.g., Mongo)? After searching the site, reading the docs, and searching the…
user2029783
  • 591
  • 1
  • 6
  • 19
6
votes
1 answer

How can I determine root objects in an arangodb tree graph?

I have a document collection containing tree nodes and an edge collection containing "is child of" like…