Am 13.03.2014 um 18:52 schrieb Zeeshan Arif <[email protected]>:
> Hi,
>
> I just learnt in the webinar that when adding an node to Spatial index, it
> adds a node also in DB. Questions around it:
>
> - Will this node have any implication on performance of normal querying on
> the DB? Like, if I have a lable of nodes :actors and I add them to spatial
> Index, will a Cypher query execute over the nodes in RTree as well?
no, the connection is only a loose one the spatial node stores the id of the
domain node
but you can use cypher with the start clause to do spatial queries (e.g. bbox
or withinDistance)
>
> - Will the API call
> GlobalGraphOperations.at(dbs).getAllNodesWithLabel(DynamicLabel.label("actor"))
> also return the RTree nodes? If yes, In this case how to find out if these
> nodes are from the RTree and separate/ignore them?
yes it will return them, those nodes have an geom property and a bbox property
as well. There is I think no label or such to distinguish them. But that's a
good idea. So perhaps add an issue to the Neo4j spatial github repository to
tag the nodes from the spatial library with :Spatial label
>
> Thanks,
>
> - Zeeshan
>
> --
> 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/d/optout.
--
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/d/optout.