ExecutionEngines are used to run Cypher. You don't need to use Cypher if
you don't want to--just don't run that last line. The Java API will respect
the unique constraint as well.

Wes

On Thu, Jan 2, 2014 at 10:11 AM, Alex Frieden <a...@frieden.org> wrote:

> Yes, but isn't that returning an executionengine when you want to return
> say a node object?
>
>
> On Thu, Jan 2, 2014 at 9:52 AM, Wes Freeman <freeman....@gmail.com> wrote:
>
>> The top example is using 2.0 indexes with constraints:
>>
>> http://docs.neo4j.org/chunked/snapshot/tutorials-java-embedded-unique-nodes.html#tutorials-java-embedded-unique-get-or-create
>>
>>
>> On Thu, Jan 2, 2014 at 9:36 AM, Alex Frieden <a...@frieden.org> wrote:
>>
>>> Hi all,
>>> I saw this:
>>> http://docs.neo4j.org/chunked/snapshot/tutorials-java-embedded-unique-nodes.html
>>>
>>> Is there a way to do this using the schema index instead of the legacy
>>> index?  I have set up schema indexes (so property per label).  I want to
>>> use that for unique node creation.  Any thoughts?
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Neo4j" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to neo4j+unsubscr...@googlegroups.com.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Neo4j" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to neo4j+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
>
> --
> Alexander Frieden
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to neo4j+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to neo4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to