Skip Menu |

This queue is for tickets about the REST-Neo4p CPAN distribution.

Report information
The Basics
Id: 91673
Status: resolved
Priority: 0/
Queue: REST-Neo4p

People
Owner: maj.fortinbras [...] gmail.com
Requestors: stesin [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.2240



Subject: Questions on indexing missed from documentation
Dear Mark, there are some few questions not covered by documentation. Probably it won't take too much time and effort to give answers for them? 1. How do I utilize auto-indexes from Perl? For nodes? For relations? From http://docs.neo4j.org/chunked/2.0.0/query-create-unique.html I guess, that starting from 2.0 indexing has become vastly different and 2.0 queries use auto-indexes by default with no extra effort (see also http://docs.neo4j.org/chunked/2.0.0/indexing.html ). So why create an extra index for CREATE UNIQUE instead of using auto-index? (side note: BTW is legacy indexing deprecated? Or it is just considered advanced feature for advanced users and DBAs?) 2. How do I query relation with "legacy index"? Thanks in advanse! With best regards, Andrii
From: stesin [...] gmail.com
Maybe my question should sound even simplier: "How do I attach to an EXISTING index with name 'index_name' (incl. 'node_auto_index') be it node or relationship index, in order to utilize it for CREATE UNIQUE and other useful purposes?"
From: stesin [...] gmail.com
BTW just discovered http://docs.neo4j.org/chunked/2.0.0/auto-indexing.html now reading...
Hi Andrii- I think I will need to add some features to take advantage of the 2.0 auto indexes. I hope to do that soon! Mark On Thu Dec 26 10:26:04 2013, stesin@gmail.com wrote: Show quoted text
> BTW just discovered http://docs.neo4j.org/chunked/2.0.0/auto- > indexing.html now reading...
From: stesin [...] gmail.com
Mark, that would be great! Neo4j 2.0 is a big step ahead compared to 1.* so it would be cool to get ability of pushing it to the limit :) Thank you once again :) WBR, Andrii
Andrii- I am uploading v0.2240, which contains the new class Schema.pm. This has the methods you need for using the 2.0 constraints. One important caveat -- the module will only work with the latest server patch (2.0.1). There was a bug in 2.0.0 (https://github.com/neo4j/neo4j/issues/1778) that caused some problems. (The module will check your server version and complain if it isn't >2.0.0). I will consider your new bug next I hope. Thanks! Mark On Thu Dec 26 23:05:09 2013, stesin@gmail.com wrote: Show quoted text
> Mark, that would be great! Neo4j 2.0 is a big step ahead compared to > 1.* so it would be cool to get ability of pushing it to the limit :) > Thank you once again :) > WBR, > Andrii