background preloader

Neo4j: NOSQL For the Enterprise

Neo4j: NOSQL For the Enterprise
Related:  Java

Neo4j Blog Best Lifehacks for Designers, Developers & Photographers Keep you cables in place Are you always losing your computer cables behind your desk when you unplug them? With this inventive and (really) cheap solution you will never have this problem again. Use these clips to secure your cables in place and never lose them again. Built your own macro photo studio for $10 Create your own photo studio in a box for no more than $10! Get your USB stick back A useful tip for people who regularly take their USB stick with them. DIY tripod alternative Don’t have to money to invest in a tripod for your camera? Better color balance This lifehack will make color balancing your photos much easier. Learn how to take a nap This article explains the art of napping. Boost your productivity A lot of people are easily distracted during work and find it hard to concentrate on their tasks. Remove distractions Are you hooked on Facebook? Aim your camera more accurately A quick tip by Epell for capturing difficult shots: Improve you home office productivity Use keyboard shortcuts

Spring Data Graph with Neo4j Support Spring Data Neo4J offers advanced features to map annotated entity classes to the Neo4j Graph Database. The template programming model is equivalent to well known Spring templates and builds the basis for interaction with the graph and is also used for the advanced repository support. Spring Data Neo4j is part of the Spring Data project which aims to provide convenient support for NoSQL databases. Features Quick Start Example @NodeEntitypublic class Movie { @GraphId Long id; @Indexed(type = FULLTEXT, indexName = "search") String title; Person director; @RelatedTo(type="ACTS_IN", direction = INCOMING) Set<Person> actors; @RelatedToVia(type = "RATED") Iterable<Rating> ratings; @Query("start movie=node({self}) match movie-->genre<--similar return similar") Iterable<Movie> similarMovies;} Repositories Declare a repository interface Activate Spring Data Neo4j repositories Use the repository

TinkerPop bio4j blog | news and updates on bio4j Hello everyone, I’m happy to announce a new set of features for our tool Bio4jExplorer plus some changes in its design. I hope this may help both potential and current users to get a better understanding of Bio4j DB structure and contents. Node & Relationship properties You can now check with Bio4jExplorer the properties that has either a node or relationship in the table situated on the lower part of the interface. Five columns are included: Name: property name Type: property type (String, int, float, String[], …) Indexed: either the property is indexed or not (yes/no) Index name: name of the index associated to this property -if there’s any Index name: type of the index associated to this property -if there’s any Node & Relationship Data source You can also see now from which source a Node or Relationship was imported, some examples would be Uniprot, Uniref, GO, RefSeq… Relationships Name property Get proteins (accession and names) associated to an interpro motif (limited to 10 results)

Marko A. Rodriguez wiki: Tutorial Directory You can find more about this page in LuaTutorial. It is suggested you read the topics from top to bottom, as they increase in complexity, except when one topic depends on another. TutorialExamples explains how the examples have been created and you can follow them. The tutorial is written for the previous version of Lua, version 5.2, and the previous version, 5.1. Gephi, open source graph visualization Efficient way to implement singleton pattern in Java Neo4j Internals: File Storage NOTE: This post is quite outdated, stuff has changed since i wrote this. While you can somewhat safely ignore the alterations for increased address space of entities, the Property store has changed in a fundamental way. Please find the new implementation here. Ah, the physical layer! Storing bits and bytes on spinning metal, away from the security and comfort of objects and high-level abstractions. Which files again? By now you should be aware that your graph lives in a bunch of files under the directory which you instructed your instance to store them. Recycling Ids I will tell a lie now but I have to start somewhere. The IdGenerator and its data file Of course, a neo instance is not expected to run for ever, so this list of recycled ids must also be kept in storage, since they must be available between restarts so that space does not become fragmented (aka wasted). Restoring the truth Remember when I said before that neo organizes its storage in equally sized records? Node store

Disaster Area - Filed under 'neo4j' I recently helped add versioning support to Neo4j.rb . Versioning only works for Rails models at the moment. To add versioning to your model, you'll need include the Versioning module: How it works Versioning creates snapshots under a given rails model instance. Full snapshots Snapshots currently capture all the properties of an instance. Let's look at an example: With version 1 of the driver, there are no links to any cars: With version 2, we link the driver to a sports car - a Porsche. Now, both the driver and the current version are linked to the Porsche. With version 3, we link the driver to a second car - a Ferrari. The driver, as well as the latest snapshot, are both linked to two cars - the Porsche and the Ferrarri. Working with a version To retrieve a snapshot, you'll need to call the version API. The snapshot object will respond to the exact same properties as those on instance. Reverting to a snapshot To revert to a particular version, simply call Max versions Gotchas Future improvements

Related:  BiG DATA