XmlIndexSpecification::deleteIndex API Ref

#include <DbXml.hpp>

void XmlIndexSpecification::deleteIndex(const std::string &uri, const std::string &name, const std::string &index)

void XmlIndexSpecification::deleteIndex(const std::string &uri, const std::string &name, Type type, XmlValue::type syntax)


Description: XmlIndexSpecification::deleteIndex

Deletes indexing strategies for a named document or metadata node. To delete an index set for metadata, specify the URI and name used when the metadata was added to the document.


Description: void XmlIndexSpecification::deleteIndex(const std::string &uri, const std::string &name, const std::string &index)

Deletes one or more index strategies from the identified node.

Parameters
uri name index

Errors

The XmlIndexSpecification::deleteIndex method may fail and throw XmlException, encapsulating one of the following non-zero errors:


UNKNOWN_INDEX

Description: void XmlIndexSpecification::deleteIndex(const std::string &uri, const std::string &name, Type type, XmlValue::type syntax)

Deletes a single index strategy from the identified node.

Parameters
uri name type syntax

Errors

The XmlIndexSpecification::deleteIndex method may fail and throw XmlException, encapsulating one of the following non-zero errors:


UNKNOWN_INDEX

APIRef

Copyright (c) 1996-2009 Oracle. All rights reserved.