I would like to drop the @Indexed annotation on my field, in favor of the 
auto indexing from a label like this Cypher query would bring:

CREATE INDEX ON :User(_id)

On Monday, January 27, 2014 8:50:07 PM UTC+1, Michael Azerhad wrote:
>
> Currently I use SDN 3.0.0M1 for the domain objects mapping.
> Each domain object has an "_id" indexed trough the Spring annotation: 
> @Indexed
>
> Here's an example (in Scala):
>
> @NodeEntity
> class User (@Indexed val _id: String){
> //....
> }
>
> As my "_id" property being indexed, I can execute query like this one:
>
> start u=node:User("_id:123") return u.name,  u.age;
>
> Is there a mechanism to provide Labels in the current milestone of SDN 
> (3.0.0M1)  rather than "User" index node?
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to