Storing an XML Document in Apache Xindice
Subject:   Searching / WHERE equivalent?
Date:   2006-03-12 07:56:26
From:   dvohra09
Response to: Searching / WHERE equivalent?

"find me all documents whose subject is 'adenine'"

To retrieve all documents with a common subject store the documents in the same collection.
For example, create a collection called adenine.

>xindice ac -c xmldb:xindice://localhost:7001/db -n adenine

Add couments to the collections as explained in the tutorial. List all the documents in the collection with action ld.

>xindice ld -c xmldb:xindice://localhost:7001/db/adenine