XmlIndexSpecification::deleteIndex |
#include <DbXml.hpp>void XmlIndexSpecification::deleteIndex(const std::string &uri, const std::string &name, const std::string &index);
The XmlIndexSpecification interface provides methods for specifying the indexing of a container. Indexing is specified by providing the name of a node and a list of indexing strategies for that node. The node name can be either that of an element or attribute node. For example, in the XML fragment "<art title='...'/>" there are two node names that index strategies could be specified for, the element node name is 'art', and the attribute node name is 'title'. See the Indexing section of the reference guide for detailed information on designing an indexing strategy for your application.
Applications can specify a default indexing strategy for all nodes in a container by declaring an indexing strategy for the default document node. The name of the node is "default" and its namespace URI is "http://www.sleepycat.com/2002/dbxml". These can be referenced using the Berkeley DB XML constants DbXml::metaDataName_default and DbXml::metaDataNamespace_uri. When a container is first created the indexing strategy specified for the default document node is 'none-none-none-none'.
The XmlIndexSpecification::deleteIndex method deletes indexing strategies for a named document node.
Copyright (c) 1996-2003 Sleepycat Software, Inc. - All rights reserved.