I have the following SDN5 node entity:
@NodeEntity
public class Value {
@Index(unique = false)
private Object value;
}
As you may see, I have defined value
as Object
and placed the index over it.
According to my application business logic, I'm putting different Java types into the Value.value
like String
, Long
, Double
, Integer
etc. Taking this into account I wondering will the Neo4j index effectively work there? Does it make any sense there? Please explain.
Property values can only be of primitive types or arrays for node property.