scholrly / neo4django

Drop-in Neo4j/Django integration.
GNU General Public License v3.0
358 stars 83 forks source link

Support Neo4j 2.0 "labels" feature and (new) schema indexing. #155

Open szabi opened 11 years ago

szabi commented 11 years ago

Labels are going to be a powerful feature of Neo4j 2.0 I'd love to see its capabilities being tapped by neo4django!

mhluongo commented 11 years ago

Thanks for opening the issue- I'm definitely planning on it!

There are a few hiccoughs (like date indexing support) that I'll need to work out, but I think labels are a much more elegant way to take care of typing and indexing NodeModels in the graph.

szabi commented 11 years ago

How does date indexing relate to schema indexing? As I understand date indexing is not directly supported by neo4j and would be part of building an index (in neo4j) by the higher-level model.

mhluongo commented 11 years ago

Right now we accomplish date and integer indexing and querying in neo4diango, including ranges. When I switch to labels and a more Cypher-centric indexing process, I don't want to sacrifice features.

Hopefully most of these concerns will disappear when I actually begin the implementation :) On May 23, 2013 1:46 AM, "szabi" notifications@github.com wrote:

How does date indexing relate to schema indexing? As I understand date indexing is not directly supported by neo4j and would be part of building an index (in neo4j) by the higher-level model.

— Reply to this email directly or view it on GitHubhttps://github.com/scholrly/neo4django/issues/155#issuecomment-18324493 .