I have just installed and created collections, documents,.... using xindice
1.0.

Now my main question and it might be triavial, so bare with me is:

how to query multiple collections together using XPath ?

Here is my structure:

/db/authorization
/db/authorization/users
/db/authorization/groups

In the users collection I have multiple documents (1 per user) with a root
element of "user". Same concept for groups

Is it possible to express an XPath query "joining" multiple documents in
these 2 collections ?

Other quick question: design wise, is it better to have multiple documents
for users or 1 document with a root elements of "users" and "user"
sub-elements. I would like to grasp the main conept of XIndice and use it
in the most efficient way.

Thanks for any help.

Olivier


Reply via email to