From: Wolfgang M. <wol...@gm...> - 2006-09-12 19:53:48
|
> Thanks, I knew I would definitely need to specify the indexes. Could > you show an example of what a range index for this type of collection > might look like? Please check http://www.exist-db.org/indexing.html#N102B5 about how to create a configuration document. I would at least define two indexes on the attributes: <create path="//datafield/@tag" type="xs:integer"/> <create path="//datafield/subfield/@code" type="xs:string"/> to support queries like //record/datafield[@tag = 245]/subfield[@code = 'a'] Wolfgang |