EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB482892: How to Rebuild the Index of the Quick Search


Ling Jing

Product Owner, Principal • MicroStrategy


If you are having issues with your quick search, an easy solution may be to rebuild the index. Particularly in certain situations, like if the your environment is updated, if the metadata is changed in your environment, or if the index is changed or corrupted, you will want to rebuild the index. 

How to Rebuild the Index 


Depending on the product version, the process of rebuilding or changing your index directory may vary. 
For more information, see Monitoring Quick Search Indices. 

Rebuild the Index on Versions 2019 and newer

In Strategy 2019 and above, the indices are automatically rebuilt when the metadata, the index version, or the folder is changed. The auto rebuild process begins when you load a project or start the server.
If your index is corrupted, you will need to manually rebuild the index. In these newer versions of Strategy, you can either use the Rebuild Index button in Developer, or remove the index folder named after the project ID.
 
Note: If your environment is clustered, you may need to do manually rebuild the index in all the clustered nodes. For example:
If Project1 is loaded into both Node A and Node B, the index of Project1 may be out of sync. If separate index folders are used, rebuild the index on both nodes to re-sync. If you are using a shared index folder, rebuild the index in either Node A or Node B to re-sync. If Project1 is only loaded to Node A, you only need to rebuild that index to re-sync.
Once you rebuild the index, monitor your indices through the Quick Search Manager.

Rebuild the Index manually via Developer

Beginning in Strategy 10.9, you can rebuild the index with a click of a button in Developer.

  1. In Developer, open your project source.
  2. Go to Administration > System Monitors > Quick Search Indices. 
  3. Right-click on a project and click Rebuild Index.
ka0PW0000000gDlYAI_0EM44000000gPI4.jpeg


 
Once you rebuild the index, monitor your indices through the Quick Search Manager.

Rebuild the Index on the machine hosting the Search Index


Prior to Strategy 2021, use the following approach to rebuild the index.

  1. Locate the project ID and identify where the index folder is located.
  2. Stop the server.
  3. Remove the index folder named after the project ID.
  4. Restart the server.
  5. Turn on the quick search index manually.


For example, say the Strategy Tutorial index needs to be rebuilt. The following steps could be used to rebuild it:

  1. Locate its project ID (
    b19dedcc11d4e0efc000eb9495d0f44f
    ) and identify where the index folder is located (
    E:\SearchData
    ). 
  2. Stop the server.
  3. Go to
    E:\SearchData 
    and delete the
    b19dedcc11d4e0efc000eb9495d0f44f
    index folder, which is named after the project ID.
  4. Restart the server. 
  5. Manually turn on the quick search index. 

If you do not want to restart the Intelligence Server, you can change the index directory to a different folder. After, manually restart the crawl process. The index is rebuilt.
Once you rebuild the index, monitor your indices through the Quick Search Manager.

Rebuild the Index via the Workstation

  1. In Workstation, go to Monitors > Quick Search Indices.
  2. Right-click on a project and click Rebuild Index.
ka0PW0000000gDlYAI_0EM4W00000723Bo.jpeg

 
 

How to Monitor the Quick Search Indices in Developer

  1. In Developer, open your project source.
  2. Go to Administration > System Monitors > Quick Search Indices. 
  3. Right-click on Quick Search Indices and choose Manage Quick Search. The Quick Search Manager dialog opens.
ka0PW0000000gDlYAI_0EM44000000gPIT.jpeg

How to Monitor the Quick Search Indices in Workstation

  1. In Workstation, go to Monitors > Quick Search Indices to view the status and progress.
  2. Click Settings to open the Quick Search Manager dialog.
ka0PW0000000gDlYAI_0EM4W00000723By.jpeg


 

Some Tips for Building Quick Search Indices

  • The shared index folder is not supported for NFS. If your environment is clustered, using the local index for each node is highly suggested. This is because Lucene historically has problems when running on NFS, and the Lucene company itself does not recommend to use NFS with Lucene on clustered environments for stability, performance and scalability concerns.
  • Before shutdown Intelligence Server, it is better to check the quick search index status and then shut down the server until the index crawler completed in case any index corruption issue happens.
  • Once there is any index corruption/missing issue happens, rebuild the index through Strategy Developer will help to resolve the majority of them.

Comment

0 comments

Details

Knowledge Article

Published:

February 21, 2019

Last Updated:

February 13, 2024