XmlManager::reindexContainer |
![]() ![]() |
#include <DbXml.hpp>void XmlManager::reindexContainer( const std::string &name, XmlUpdateContext &context, u_int32_t flags = 0)
void XmlManager::reindexContainer( XmlTransaction &txn, const std::string &name, XmlUpdateContext &context, u_int32_t flags = 0)
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.
![]() ![]() |
Copyright (c) 1996,2007 Oracle. All rights reserved.