DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
  1. DZone
  2. Data Engineering
  3. Databases
  4. Neo4j 1.8.M07 - Sharing is Caring

Neo4j 1.8.M07 - Sharing is Caring

Will Soprano user avatar by
Will Soprano
·
Aug. 13, 12 · Interview
Like (0)
Save
Tweet
Share
3.41K Views

Join the DZone community and get the full member experience.

Join For Free
Original author: Andreas Kollegger from the Neo4j Blog

Available immediately, Neo4j 1.8 Milestone 7 sets the stage for responsible data sharing. We’re open source. Naturally we’re mindful about supporting...

Open (Meta) Data 

 Way back when Neo4j 1.2.M01 was released we introduced the Usage Data Collector (UDC), an optional component which would help us understand how running instance of Neo4j were being used, by reporting back anonymous context information: operating system, runtime, region of the Earth, that kind of thing.

Of course, the source code for the UDC is open and available for inspection. Now, we’re taking some steps to make the meta-data itself available, to make that data useful for everyone in the community, and to do so while being uber sensitive to the slightest hint of privacy concerns.

We’re kinda excited about this, actually. Stay tuned to learn more about what we’re doing, how you can be involved, and how it will be awesome for the community.

Create Unique Data 

Earlier in the 1.8 branch, we introduced the RELATE clause, a powerful blend of MATCH and CREATE. With it, you could insist that a pattern of data should exist in the graph, and RELATE would perform the least creations required to uniquely satisfy the pattern.

In discussion, we kept saying things like “uniquely creates” to describe it, finally realizing that we should name the thing with the much more obvious CREATE UNIQUE.

To upgrade to CREATE UNIQUE, just s/RELATE/CREATE UNIQUE/ like so:

START left=node(1), right=node(3,4)
RELATE left-[r:KNOWS]->right
RETURN r

… becomes...

START left=node(1), right=node(3,4)
CREATE UNIQUE left-[r:KNOWS]->right
RETURN r

Read more details about the clause over in the manual page on it.

Notable Changes 

Kernel:
  •  Traversal framework backwards compatibility  
    • Cleaned up any breaking changes  
    • Removed Expander#addFilter 
  • Kernel JMX bean instance identifier is now reused and can optionally be set explicitly via forced_kernel_id config setting 
 Server:
  • Consoles in webadmin can now be disabled. 
Cypher:
  • Added escape characters to string literals 
  • Renamed `RELATE` to `CREATE UNIQUE` 
 UDC:
  •  Added edition information (community, advanced, enterprise) 
  • Added a cluster-name hash so that stores originating from the same cluster can be aggregated 
  • Fixed release version and revision OS version, architecture, and release 
  • Changed precedence of database configuration over internal udc configuration 
  • Added distribution information (dpkg, rpm, unknown)

Get Neo4j 1.8.M07

Neo4j 1.8.M07 is available for:
  • immediate download on Neo4j.org
  • discussion on the Neo4j Google Group
  • questions on Stack Overflow tag #neo4j
Note: this milestone is not yet available on Heroku

Cheers,
the Neo4j Team
Neo4j

Published at DZone with permission of Will Soprano. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Event Driven 2.0
  • Stream Processing vs. Batch Processing: What to Know
  • Quick Pattern-Matching Queries in PostgreSQL and YugabyteDB
  • Bye-Bye, Regular Dev [Comic]

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: