You can export octrees from one index and then import them into another
index.
This functionality is useful, for example, in case of an upgrade, or to reimport octrees from
the main server to the secondary server in high availability mode.
Before you begin: Install 3DSpace Derived
Objects Server.
From the machine where 3DSpace Index is installed, run the following command to export the octrees:
/(3dspaceindex install dir)/cv/data/bin/cvdebug index dump-octrees buildGroup=sxibg0
The octrees are exported to the current working directory.
From the machine
where
the import JAR files are located (that is, by default, where 3DSpace Derived
Objects Server is installed), run the following command to import the
octrees:
cloudview_host is the hostname of the server to which you want to
import the octrees.
baseport+52 is the baseport+52 of the server to which you want to
import the octrees.
directory_with_export is the path to the working directory where
you exported the octrees in the previous step.
The octrees are imported.
Example
output:
11:24:06.195 [main] DEBUG com.exalead.papi.helper.pipe.PipedPushAPI -- Created BufferedPushAPI: maxDocuments=1000 maxBytes=8388608 in thread id=1Done (30716ms). - 3462 octrees pushed.
Important:
The index does not receive the information that the imported
octrees were successfully computed. Some scripts might attempt to retry them to
regenerate their correct processing status information. This does not interfere with
normal production use.