On Wed, 2015-03-11 at 12:11 +0000, Ihe Onwuka wrote:
>
[...] an additional
> shortcoming I
> found with eXist - the insistence on a strictly hierarchical
> collection structure. This forces me into choice I do not want to
> have to make for a
> movie repository - whether a rom/com goes in the romantic
> collection or the comedy collecton - and of course genre is not the
> only facet worthy of
> modelling collections on.
For http://www.fromoldbooks.org/Search/ I modeled this with keywords
associated with each item; for more rigid categories, have a list of
categories each with an ID, and point to a list of categories from the
item,e.g. using IDREFS if you're using validation.
Then I only use one database collection.