| Sign In/My Account | View Cart |
| Article: |
Storing an XML Document in Apache Xindice | |
| Subject: | Searching / WHERE equivalent? | |
| Date: | 2006-03-11 19:20:23 | |
| From: | noahgreen | |
|
(Sorry for previous empty post). Hi, Great article - just a few questions. Does this database allow you to perform queries with a WHERE clause equivalent? That is, something like, "find me all documents whose subject is 'adenine'" or something like that? That would seem to me to be the most important function of any database.
|
||
Showing messages 1 through 3 of 3.
>xindice rd -c xmldb:xindice://localhost:7001/db/catalog
-n adenine.xml rd action.
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 adenineAdd 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