In the event that an Archive hasn’t properly created a content index for all of its documents, a user might want to force a content index rebuild.
However, this does come with one minor caveat – by default, the content index rebuild will only rebuild as many documents as are returned in the default document return limit (set to 50 by default.) This means that, by default, a content index rebuild will only re-index the first 50 documents of the selected archive.
To index a larger number of documents, adjusting the DocReturnLimit will be necessary. Follow the steps below to perform a content index rebuild.
Step-by-step LAN guide
Log into your server
Close GlobalSearch/SmartSearch and make sure all helper applications are closed as well (Extensions, Image Xchange, etc)
Navigate to your Local folder (C:\Users\[Username]\AppData\Local\)
Navigate into Square_9_Softworks folder and drill down into either the GlobalSearch Folder (v.4.4.1 and up) or the SmartSearch Folder (v4.3.1 and below)
Open up MYSETTINGS.xml in notepad and locate the <DocReturnLimit> tag. Adjust the number between the opening tag and closing tag to encompass the full number of documents you wish to reindex. Please note, the higher this number, the longer the index will take, and the longer the load time on your Archives will be. This change is not permanent.
Save the MYSETTINGS.xml file and start up GS/SS.
Run the Content Index Rebuild located in the Administration Tab on the Archive in question.
This will run momentarily in the foreground, but the re-indexing will be done quietly in the background. At this point, you can navigate back to the MYSETTINGS file and change your docreturn limit back to something more acceptable, or keep it as is.
Adjusting the docreturn limit on the server will allow a content index rebuild to cover a broader return set of documents. The docreturn limit can also be adjusted on clients who wish to have more than the default 50 documents return from a search.
Step-by-step Web guide
To rebuild the Index, on the GlobalSearch toolbar, in the Administration menu, select Administration.
In the vertical Administration menu, select Archives. A list of the Archives will appear.
Click the More Options icon for the selected Archive.
Click Rebuild Index.
This feature only updates the last 1,000 documents added to an archive. If you need options for updating larger recordsets, contact support.