How do I reindex all pages in the database?
Versions:
n/a,
FAQ number:
101,
Old FAQ number: 1028
EPiServer rebuilds the page index when a new version of a page is published. The indexing process extracts keywords from properties that contain text and html content.
When do I need to reindex all pages?
- If you have upgraded to EPiServer 4.22 or later; as of version 4.22 all links and images are also extracted from content, to be able to handle references between pages that are nested inside HTML blocks. In earlier versions, when you made a link in the HTML-editor from page A to page B, you could delete page B without getting a warning about the link from page A. If you need this new functionality, you need to reindex all pages in the database after the upgrade, either manually by republishing affected pages or by using the supplied tool.
- If you change the "Searchable property" setting of a property definition in a page type, you need to reindex all pages of that page type.
To use the tool: unzip the file to your webserver, the RebuildIndexes.aspx should be placed in the admin directory for security reasons. Thereafter open http://<sitename>/admin/RebuildIndexes.aspx in your web browser and hit the "Rebuild" button. Indexing may take several minutes to complete, but you only need to start reindexing once.
Download zip file