I am trying to use OrientDB to perform gremlin queries through a select statement. I'm sure I saw a tutorial doing just this using the movies example from the demo database. However, I have read through so much documentation on the DB that I can't for the life of me find it now. Does anybody have a link to it?
Maybe the tutorial that you are looking for is this one
http://markorodriguez.com/2011/09/22/a-graph-based-movie-recommender-engine/
is not with orientdb but neo4j.
Since both support gremlin and orientdb is 100% compilant with blueprints the tutorial is applicable to it.
You can find a list of presentations here
Related
I started learning NestJS, by reading documentation. currently, I'm using the #nestjs/mongoose package for MongoDB. unforunatley I can't find any documentation about this package.
the only docs I found is this https://docs.nestjs.com/techniques/mongodb
however, it's missing lots of information, such as creating an index for the schema.
where can I find additional information? how people on stack overflow know some of the answers if they are not in the documentation
edit: I mean documentation of #nestjs/mongoose
#nestjs/mongoose mostly is a simple wrapper around mongoose for Nest's DI context. Nest does have additional decorators, like #Schema() and #Prop() to allow for creating a class based representation of the schema and then the SchemaFactory.createForClass method to create the schema object that mongoose will later use. Any properties you can normally set when creating a prop, as described in the mongoose documentation should be passable to the #Prop(). The Typescript types are there to help you, and should give you good intellisense on what is and isn't possible.
Other than that, the Nest team is slowly working on getting some API docs out, but it's a very large initiative that will take a lot of time.
Hi I have requirement of connecting MarkLogic with pySpark. Is there any reference you can guide me through where I can start with. I found few blogs where they have suggested using "MarkLogic Connector for Hadoop", but since it will deprecated starting with MarkLogic release 10.0-3 so I am looking for other alternative.
You can use MarkLogic Extended REST API (using JavaScript or XQuery) - Extending the REST API.
Also you have the option to evaluate an Ad-Hoc JavaScript/Xquery Query - Evaluating an Ad-Hoc Query.
Hope that helps.
I was able to achieve this using MarkLogic rest API. Thanks for help #Ashish.
I even wrote an story on medium how we can achieve this.
https://medium.com/#anshumankaku/ingesting-data-from-cdp-hive-into-marklogic-43e4768be271
I am new in Azure and I am trying to implement multishard query using Elastic Scale and Entity Framework. Unfortunately I am not able to find any example solutions or good practises to achieve that target. Can anyone help me in this issue? I would be very grateful for some materials to study or hints. Thank you in advance.
Thanks for your question on multi-shard queries with Elastic Scale and EF. Currently, a straight-forward integration like the one you probably saw for data-dependent routing is not available for multi-shard queries. This is an area we are currently investing in, though. Please contact me directly over email at torsteng(at)microsoft(dot)com and we can discuss whether your use case is a good fit and we can get you unblocked.
Thanks,
Torsten
Update for 2015, Having come across similar requirements, I contacted Torsten to see if the situation has changed, kindly he got back to me.
Hi Matt,
If your cross-db querying scenario with EF is limited to read-only access on >the shards, I’d suggest to take a look at Elastic Query for SQL DB – currently >in preview. The best entry points are probably the following documents:
Overview: https://azure.microsoft.com/enus/documentation/articles/sql-database-elastic-query-overview/
Step-by-step tutorial: https://azure.microsoft.com/en-us/documentation/articles/sql-database-elastic-query-getting-started/
With Elastic Query set up, you can point an EF DbContext to the external tables >you have defined using the Elastic Query DDL. That DbContext can then be used >for everything that requires cross-db querying. This is a somewhat intricate >mix between code-first and db-first. But, it should get you off the ground.
The instructions seem simple enough, but do involve setting up another database (at the moment premium) in azure. Hope that helps.
Coming back to the thread since now the sample for using elastic database tools (previously known as Elastic Scale) is now available with EF here.
Hope this helps!
Thanks
Silvia Doomra
I am building an OrientDB system which needs access to the OrientDB query language, much like Cypher is for Neo4j. I can't find any documentation for this however.
They have their github repo here:
https://github.com/orientechnologies/orientdb
And the database related documentation here:
https://github.com/orientechnologies/orientdb/wiki/SQL
I am using Spring Data in my Java application to connect to MongoDb and have a requirement around versioning the documents (basically storing the history).
It seems that its pretty straightforward in Ruby, if one uses Mongoid
I was wondering if spring data has something similar for Java. Or are you better of trying to implement your own.
Yes there is a very good feature in Spring data which is auditing you can refer to the following link
http://www.javacodegeeks.com/2013/11/auditing-entities-in-spring-data-mongodb-2.html
After lot of research I found that https://javers.org/documentation/spring-boot-integration/. This works like rock solid and very easy to implement.
This library helps to store all the history of the changed fields and easy to query over it and it has great support of it. The sample POC shared here: https://nullbeans.com/auditing-using-spring-boot-mongodb-and-javers/