Difference between revisions of "IndexConverter"

From LogicalDOC Community Wiki
Jump to navigationJump to search
(How to run this tool)
(How long it takes to convert)
Line 43: Line 43:
 
== How long it takes to convert ==
 
== How long it takes to convert ==
 
Unfortunately the conversion is not a quick task, the time depends on how many  
 
Unfortunately the conversion is not a quick task, the time depends on how many  
documents you have, and on the CPU performances.
+
documents you have, and on the CPU performances.<br/>
 
If you are on a Xeon QuadCore with SSD disk, you can expect 500 documents  
 
If you are on a Xeon QuadCore with SSD disk, you can expect 500 documents  
processed per minute.
+
processed per minute.<br />
 
You can interrupt the conversion at any time and start it again, you will not  
 
You can interrupt the conversion at any time and start it again, you will not  
loose the already done conversion.
+
loose the already done conversion.<br />
 
There is no need to stop LogicalDOC, but if you stop it the conversion process
 
There is no need to stop LogicalDOC, but if you stop it the conversion process
 
will be quicker.
 
will be quicker.
 
[http://repo.logicaldoc.com:1000/maven1/com/logicaldoc/logicaldoc-indexconverter/8.3.2/logicaldoc-indexconverter-8.3.2-tool.zip IndexConverter]
 

Revision as of 07:48, 16 August 2019

Index Conversion Tool

At beginning of year 2020 the new release 8.5 will be made available. This new release will use a different full-text index format. Indexes created by LogicalDOC before release 8.3.2 will not work anymore with LogicalDOC 8.5 and therefore must to be converted to the new format.

We strongly recommend to do this conversion as soon as possible so there will be
no problems when you will upgrade your installation to the 8.5.

What this tool does

This tool is designed to process your actual index and convert it in a format compatible with LogicalDOC 8.5. After this conversion you can continue to use your actual version of LogicalDOC, but you will be ready to upgrade to 8.5 when it will be available.

Who must run this tool and who must not

If you started using LogicalDOC since version 8.3.2 you must not run this tool. If you started using LogicalDOC before version 8.3.2 you must run this tool.

Prerequisites

This tool can by ran on versions from 8.3.2 to 8.4.x. It will not run in case you have a version older than 8.3.1, so in this case update your installation to the 8.3.2 first.

How to run this tool

Download the IndexConverter and unpack the .zip file into your LogicalDOC's home dir(let's call it <LDOC_HOME>), this will create the folder <LDOC_HOME>/indexconverter

If you are in Linux or Nas, open a shell and execute the following commands:

$ cd <LDOC_HOME>/indexconverter
$ chmod a+x convert.sh
$ ./convert.sh

If you are in Windows, open an elevated console and execute the following commands:

$ cd <LDOC_HOME>/indexconverter
$ convert.bat

Once the tool is launched you can follow how it is doing by looking at the log file converter.log

How long it takes to convert

Unfortunately the conversion is not a quick task, the time depends on how many documents you have, and on the CPU performances.
If you are on a Xeon QuadCore with SSD disk, you can expect 500 documents processed per minute.
You can interrupt the conversion at any time and start it again, you will not loose the already done conversion.
There is no need to stop LogicalDOC, but if you stop it the conversion process will be quicker.