Comments on: Bulk Document Lookups: Efficient Data Retrieval with ArangoDB https://arangodb.com/2015/05/bulk-document-lookups/ The database for graph and beyond Tue, 25 Jun 2024 12:12:46 +0000 hourly 1 https://wordpress.org/?v=6.7.1 By: CoDEmanX https://arangodb.com/2015/05/bulk-document-lookups/#comment-568 Fri, 08 May 2015 15:54:00 +0000 http://www.arangodb.com/?p=7530#comment-568 I spotted a difference between document(…) and a possible documents(…) reading your blog post: the latter would accept document keys only, the other keys as well as ids.

Perhaps documents(…) could be improved to ignore the collection-part of ids and use the document key only, to keep both as similar as possible? (ids from collections other than the one specified in the bulk request should be completely ignored I guess)

]]>
By: jsteemann https://arangodb.com/2015/05/bulk-document-lookups/#comment-567 Fri, 08 May 2015 14:17:00 +0000 http://www.arangodb.com/?p=7530#comment-567 Thanks for the suggestion. db.test.documents(…) makes perfect sense. I need to check whether the HTTP endpoint URL can also be changed easily.

]]>
By: CoDEmanX https://arangodb.com/2015/05/bulk-document-lookups/#comment-566 Fri, 08 May 2015 09:39:00 +0000 http://www.arangodb.com/?p=7530#comment-566 Have you considered the following API?
db.test.documents(…)
http://server:port/_api/documents

Seems more in line with https://docs.arangodb.com/Documents/DocumentMethods.html#document

]]>