Skip to main content

How to Partially Rebuild the DQS Index

Overview

This article describes how to rebuild corrupted indexes on a single server. This process is designed to avoid the effort-intensive method of rebuilding indexes on multiple servers.

Instructions

  1. Stop services on the Distributed Query Server (DQS).
  2. Download a blank copy of the CSE files (ConceptDB.zip).
  3. Replace the CSE files on the DQS Server with the downloaded blank CSE files.

NOTE: Text.CSE is not in this download and should be left unchanged.

  1. Delete the following files and folders:

    • Lexicon shards folder
    • Indexer.CSE
    • LexiconCache.CSE
    • LexiconCacheQS.CSE
    • LexiconSizeDistribution.CSE
    • PostingsDistribution.CSE
    • IndexerChecksum.CSE
  2. To reindex the affected content, run the following SQL statement:

UPDATE Pages Set Status = 200 WHERE DQSID = X AND Status > 200

where X is the value of your DQSID.

IMPORTANT: Find the correct DQSID from the NDC configuration.

  1. Start services on the DQS Server.

Attachments

Use the following file to replace active NDC files (.CSE):