My Oracle Support Banner

How to Modify Search Indexing in Jackrabbit to Speed Up Repository Recovery Time Following Indexing Corruption (Doc ID 1523148.1)

Last updated on JULY 11, 2017

Applies to:

Primavera Contract Management - Version 13.0 to 13.1 [Release 13]
Information in this document applies to any platform.

Purpose

When attachments and versions are added to a Jackrabbit content repository, they are automatically indexed.  Indexing is performed to speed up the the 'Include Attachments' option of the 'Search' functionality within Contract Management.  These indexes are all stored within the \RepositoryHome folder on your Contract Management web server.

If indexing becomes corrupted, on startup, Jackrabbit will go through the existing indexing and repair the broken ones.  Depending on the size of your Jackrabbit database (and \RepositoryHome folder), this can be completed in a time range spanning minutes (hundreds of MB of Jackrabbit content) to hours (multiple GB) to days (hundreds of GB).

When re-indexing is in progress, you'll see entries similar to the following in the web server diagnostic log:

INFO [org.apache.jackrabbit.core.query.lucene.MultiIndex] (main) indexing... /jcr:system/jcr:versionStorage/58/40/57/58405748-30ba-43ef-b8eb-b755876e0eaa/1.13 (4567800)
INFO [org.apache.jackrabbit.core.query.lucene.MultiIndex] (main) indexing... /jcr:system/jcr:versionStorage/58/2b/fc/582bfc9b-2f3e-4d24-b0f8-b7264cb22219/jcr:rootVersion (4567900)
INFO [org.apache.jackrabbit.core.query.lucene.MultiIndex] (main) indexing... /jcr:system/jcr:versionStorage/58/84/54/5884548c-ffbb-4097-a5c5-3d749a58c638/jcr:versionLabels (4568000)
INFO [org.apache.jackrabbit.core.persistence.bundle.util.LRUNodeIdCache] (main) num=0/10240 hits=0 miss=86110000
INFO [org.apache.jackrabbit.core.persistence.bundle.util.BundleCache] (main) num=2555 mem=8175k max=8192k avg=3276 hits=81541938 miss=4568062

Scope

This article is intended for Jackrabbit users with content repositories in the 'hundreds of GB' range.  It provides indexing re-building alternatives that can take your startup time down from days/weeks to hours/minutes.

Details

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Purpose
Scope
Details
 Disabling Search Index AutoRepair
 Disabling Document Search Indexing


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.