On Friday, February 1, 2002, at 05:54 PM, Mark J. Stang wrote:

What is the best "level" to index to.   Most of my data is in
attributes.   I am searching based on tag(i.e. <phone number="1234567"/
) and
then within the tag for the attribute(i.e. number).   Should I index on
the tag and
all of its attributes, some tags have a lot of attributes or just the
tag?

If your queries are testing against the contents of the attribute then you should index the attribute.



Can I create indexes on the fly from within my program or do I have to do it from the command-line?


You can, but I don't think there's any docs on it. You use the CollectionManager service to do it. You can take a look at the source for the command line tool to see how it's used.


thanks,

Mark



Kimbro Staken
XML Database Software, Consulting and Writing
http://www.xmldatabases.org/



Reply via email to