Rebuild indexes
The Rebuild Indexes feature helps the administrator rebuild Lucene indexes.
| Indexes | Description |
|---|---|
| Text extractor | Extracts all document contents and rebuilds the indexes. |
| Lucene indexes | Rebuilds indexes using the current content. When this option is selected, all node types can be rebuilt or only specific ones. Available options are: - NodeDocument for rebuilding nodes of type document. - NodeFolder for rebuilding nodes of type folder. - NodeMail for rebuilding nodes of type mail. - NodeRecord for rebuilding nodes of type record. |
| Optimize indexes | Removes older content that no longer exists in the repository. |
Rebuild Procedure
Section titled “Rebuild Procedure”- Choose the index type to rebuild.
- Click the Execute button.
Indexing metadata only
Section titled “Indexing metadata only”When users only search by metadata, the content of the documents doesn’t need to be indexed. Not indexing it makes rebuilding the indexes faster and the index much smaller (in a test with 5,000 PDF documents, the rebuild took 25-30% less time and the index went from about 60-120 MB to 1-3 MB).
- Disable the Text Extractor Worker crontab task, so the text of new documents is not extracted. See Built-in crontab tasks.
- Set the search.content.indexing.enabled configuration parameter to false. See Other configuration parameters.
- Rebuild the Lucene indexes, so the change also applies to the existing documents.