Compacting the Index

A compacted index has fewer slots for more efficient searching. You can schedule a full index compaction at least once a week or more, depending on the disk usage profile of the index.

See Also
Controlling Disk Space
  1. Create a script to run a full compact, using the following template:
    #!/bin/sh
    # CHANGE THESE PARAMS +++
    CVBIN=/usr/R2016x/UnifiedSearchServer/linux_a64/cv/data/bin
    CVPORT=19011
    # CHANGE THESE PARAMS ---
    cd $CVBIN
    # call to start compact
    ./cvcommand localhost:$CVPORT /mami/indexing fullCompactIndex buildGroup=sxibg0
    
  2. Use a task scheduler to run the script once a week or more frequently if required.