[Neo4j] Re: How many indexes for spatial data?

2014-07-22 Thread Alireza Rezaei Mahdiraji
Hi Jim, I have a tree which level0 are vertices, level 1 are edges, level2 are polygons, etc, Elements on level 0 are only connected to elements in level 1, level 1 to 2 (i.e., the graph relationships). 1- In this case, shall I add only vertices (with coordinates) to the spatial index or

Re: [Neo4j] force Neo4j to be single threaded

2014-07-22 Thread jer
Hi Michael, So I tried your suggestions by diableing the remote shell and UDC. But the number of thread that JVM launches does not seem to change (still more than 10 threads). By looking closer at neo4j configurations, I don't seem to find much stuff to disable. Do you mind giving me more

[Neo4j] Re: How many indexes for spatial data?

2014-07-22 Thread Jim Biard
Alireza, You can approach this multiple ways. If you make a separate spatial index for each level, then it is easy to query for nodes of a specified level. If you have a single spatial index, then you will need to follow the spatial index query with a WHERE clause (if using Cypher) to select