List Info

Thread: Re: complex query




Re: complex query
country flaguser name
United States
2007-02-20 23:10:01
> 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. 

"Description" type fields would typically be
keyword indexed..  If it
is an exact-match description, you could index on the
integer hash of
the description..

> What I need
> is 
> indexes on the link.

The links could be indexed by their node id.

> 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.

I'm still not too clear about these requirements, but that
all sounds
fine..


_______________________________________________
Magma mailing list
Magmalists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/magma


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )