Overview
If there is a suspicion that IDOIL index is corrupted for example due to sudden reboot of the server, the validity of the index can be checked. This article describes the procedure.
Solution
1. On the DIH/DAH (if cluster) and/or in the single IDOL server open browser and run following URL.
http://[DIH/DAH IP]:[indexing port, ending 1]/DREVALIDATE?&type=[index property]
There are several index types of which each must be run separately.
DiskIndex
Geospatial
NodeTable
Numeric
PhraseIndex
RefIndex
Secindex
Unstemmed
Following examples will run DiskIndex type validation to the cluster having 19001 as DIH index port and 9001 as Daily index port. The first mentioned will distribute validation automatically into the all backend (main index) engines, but for the frontend (Daily) the separate run is needed.
http://127.0.0.1:19001/DREVALIDATE?&type=DiskIndex
http://127.0.0.1:9001/DREVALIDATE?&type=DiskIndex
2. To see the results of the validation, you must use MFIdolConsole to run getstatus command against each engine. This differs from the above, where DIH could spreads the command to all backend engines. In the example below, we run getstatus against Daily. Note, that now we use ACI port which usually ends 0.
MFIDOLConsole cfg=config.txt IDOLServerACIPort=9000 a=getstatus > gs.xml
More about using MFIdolConsole here: /article/IDOL-MFAutonomyConsole
3. In the end of generated xml file there is a section like following.
If the result is like above, everything is good. If diskindex or nodetable are broken, the whole index has to be re-built. Other types can be regenerated. See more here: IDOL - Regenerate
Reference Documents
/article/IDOL-MFAutonomyConsole
