XmlManager::reindexContainer API Ref

#include <DbXml.hpp>

void XmlManager::reindexContainer( const std::string &name, XmlUpdateContext &context)

void XmlManager::reindexContainer( XmlTransaction &txn, const std::string &name, XmlUpdateContext &context)

void XmlManager::reindexContainer( const std::string &name, XmlUpdateContext &context, const XmlContainerConfig &flags)

void XmlManager::reindexContainer( XmlTransaction &txn, const std::string &name, XmlUpdateContext &context, const XmlContainerConfig &flags)


Description: XmlManager::reindexContainer

Reindex an entire container. The container should be backed up prior to using this method, as it destroys existing indices before reindexing. If the operation fails, and your container is not backed up, you may lose information.

Use this call to change the type of indexing used for a container between document-level indices and node-level indices. This method can take a very long time to execute, depending on the size of the container, and should not be used casually.

Parameters
txn name context flags

APIRef

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