Details
-
Suggestion
-
Resolution: Fixed
-
None
Description
NOTE: This suggestion is for Confluence Cloud. Using Confluence Server? See the corresponding suggestion.
The indexing of previous versions seems to be very inefficient. From what I can tell, in HibernateSearchableDao#findAllSearchableHandles, we queue up every version of all content to be indexed, but then in DefaultObjectQueueWorker/IndexTaskFactory#createRebuildChangeDocumentsIndexTask we go through every item in the queue and find all of its versions. Which results in a lot of duplicates. We should definitely fix that.
Attachments
Issue Links
- is related to
-
CONFSERVER-22808 Improve reindex performance by not retrieving previous versions unnecessarily
- Closed