Search Results mark_idxs_on_pub_soln




Overview

CS_KB_SYNC_INDEX_PKG is an Oracle E-Business Suite PL/SQL package owned by the APPS schema that supports the Oracle Knowledge Base (Knowledge Management) module within the Service (CS) application family. Its principal business function is to maintain the integrity and freshness of the Knowledge Base search index. When solutions, solution sets, categories, or their associated attributes change, the searchable index must be synchronized so that end users retrieve accurate results. The package coordinates incremental and full re-indexing by marking affected index entries as stale and by submitting concurrent requests that perform the actual search-engine synchronization. It also manages content caches used when rendering or searching solution content, including attachments.

The package is a foundational internal utility: ETRM records it as referenced by six other packages, including CS_KB_SOLUTION_PVT, CS_KB_SECURITY_PVT, CS_KB_SOLN_CATEGORIES_PVT, CS_KB_CONC_PROG_PKG, CS_KB_ELEMENTS_AUDIT_PKG, and CS_KNOWLEDGE_AUDIT_PVT, as well as by itself. This dependency pattern confirms that index synchronization is triggered from solution maintenance, security/visibility changes, category maintenance, and audit operations.

Key Procedures and Functions

Eighteen documented procedures and functions are recorded. They fall into three functional groups.

The package additionally references the JTF_NUMBER_TABLE collection type, used to pass sets of numeric identifiers to these operations.

Tables Accessed

The package reads and writes Knowledge Base entities through APPS synonyms. CS_KB_SOLN_CATEGORIES_B holds solution-to-category assignments, which determine which index entries must be invalidated when category membership changes. CS_KB_SETS_B and CS_KB_SETS_TL store solution set definitions and translations, while CS_KB_SET_CATEGORIES, CS_KB_SET_ELES, and CS_KB_ELEMENTS_B/TL store set-category relationships, set elements, and element definitions with translations. CS_KB_VISIBILITIES_B stores visibility rules that govern which users can see which solutions, and therefore which index entries require marking when security changes. FND_APPLICATION, FND_CONCURRENT_PROGRAMS, FND_CONCURRENT_REQUESTS, and FND_LANGUAGES support submission of concurrent index synchronization programs and language-specific processing. DBMS_LOB, DBMS_UTILITY, and PLITBLM provide LOB handling, utility routines, and PL/SQL table manipulation used during cache population.

Usage Notes

CS_KB_SYNC_INDEX_PKG is an internal package and is not intended as a public API for custom development. It is invoked indirectly when users create, update, publish, obsolete, or reclassify solutions and categories through the Oracle Knowledge Base forms, and when visibility or security attributes are modified. Its REQUEST_SYNC_* procedures submit concurrent requests (typically Oracle Knowledge Base index synchronization concurrent programs) recorded in FND_CONCURRENT_REQUESTS. Administrators may also schedule full index synchronization manually through the standard concurrent program interface. Because the marking procedures are called from numerous dependent packages across 12.1.1 and 12.2.2, direct invocation from custom code is discouraged; customizations should instead rely on the documented Knowledge Base public APIs such as CS_KB_SOLUTION_PVT, which in turn call this package to keep the index synchronized.