how can i index my xml documents

Im trying to index my xml documents. I think that -before you load your xml document- while you are creating the schema, in the properties of a node you chose index type. but for example:


think that this is our xml. if I chose text indexing for node will the b and c indexed. or should I index all the nodes under to index the document.

If you define a text index for node a, and text nodes child of node will be indexed, but nodes and will not. So to index for for example you would have to define an index for .

Of course adding too many indices will cause additional processing time when storing/updating documents, with the benefit that searching will be fast. My advise: only use indices where you need them.

Hope this helps.

Stuart Fyffe-Collins
Software AG (UK) Ltd.