Skip Navigation
Expand
Enable search on clone site
Answer ID 11287   |   Last Review Date 09/10/2024

How do I enable search with Knowledge Advanced on a test site?

Environment:

  • Oracle B2C Service, any version
  • Sites with Knowledge Advanced only
  • New or refreshed clone site
  • Customer Portal
  • Search REST API

Issue:

We refreshed a test site and can't search in Customer Portal. Using the search API, we cannot generate a session.

Cause:

Utilities are not enabled on a new test site. Search index is not cloned, and must be rebuilt by utility runs.

Resolution:

  1. Enable utilities on the test site and wait for search index to be rebuilt.
    Use Cloud Configuration Assistant. Documentation: Enable Utilities for a Test Site
    See Answer 5483: Test Site Details for additional information.
  2. Wait for the utility okcs-im_content_update to complete. It will trigger every 15 minutes.
  3. Once that is complete, the next run of okcs-content_indexing will complete the search index and search will begin working. This utility also runs every 15 minutes.
Steps 2 and 3 are automatic, and require no additional action. You can view utility stats from My Site Tools linked in the banner of this support site.
 
The amount of time that the utilities will take depends on the size of your knowledge base and complexity of the articles.
 
Notes:
 
Another cause of this behavior is that no searchable articles are published. Publish an article in a searchable content type to resolve.