complex query

Hilaire Fernandes hilaire2006 at laposte.net
Tue Feb 20 08:39:41 UTC 2007


Chris Muller a écrit :
> #includesAnyOf: and #includesAllOf: are supported operators for complex queries; I'm not sure if these meet your needs or not..  Can you be more specific about what you want to do and what indexes you have?

I want to persist a graph. My graph is composed of nodes, which are the 
objects I want to persist. Each node has a links attributes which is a 
collection of link objects. The only index for the node is an integer 
ID. I could have an index on the text description of the nodes, but the 
string  are just too long, so an index on it is unusable. What I need is 
indexes on the link.

Now I will probably move all the nodes links outside of the links' node 
attribute to a specific MagmaCollection. In that case I could have 
several index for the link: owner, target, linkValue, etc.

Hilaire



More information about the Magma mailing list