My Oracle Support Banner

Search No Longer Returns Content Items After Rebuilding Collection/Index On Upgraded WebCenter Content 11.1.1.8 Schema (Doc ID 1633513.1)

Last updated on SEPTEMBER 26, 2018

Applies to:

Oracle WebCenter Content - Version 11.1.1.8.0 and later
Information in this document applies to any platform.

Symptoms

After completing a full or fast collection rebuild in a WebCenter Content environment that was upgraded to 11.1.1.8, searches (that include SecurityGroup criteria) no longer return any content items.

When performing a blank search as an administrator-enabled user (e.g. "weblogic"), content items are returned fine.
When performing a search from the search page for documents where SecurityGroup = Public as administrator-enabled user (e.g. "weblogic"), NO documents are returned.
When performing a blank search as a regular user that has access to one or more SecurityGroups returns no content items (or only items where the securitygroup has UPPERCASE characters).

Regular users are able to access documents (that are missing in the search results) by Content ID/DDOCNAME or using the weblayout URL directly.

The following SQL shows that content has been indexed using hex-encoded mixed-case security groups (the hex-encoded value of Public is "z5075626C6963")

NOTE: replace the "idctext1" table by "idctext2" if the "Active Index" value on the "WebCenter Content" -> "Configuration Information" page shows "ots2"

SQL> select ddocname,dsecuritygroup,substr(otsmeta,instr(otsmeta,'<zdSecurityGroup>'),48) indexed_securitygroupvalue
     from idctext1
     where dsecuritygroup='Public'
     and rownum<=5;

DDOCNAME                       DSECURITYGROUP       INDEXED_SECURITYGROUPVALUE
------------------------------ -------------------- --------------------------------------------------
SS_SBT_LAYOUT_3_EXAMPLE_DAT    Public               <zdSecurityGroup>z5075626C6963</zdSecurityGroup>
TEXT_WITH_HEADING_RGD          Public               <zdSecurityGroup>z5075626C6963</zdSecurityGroup>
BREADCRUMBS_SAMPLES_PROD_DAT   Public               <zdSecurityGroup>z5075626C6963</zdSecurityGroup>
TEST1_DAT                      Public               <zdSecurityGroup>z5075626C6963</zdSecurityGroup>
PRODUCT_DETAIL_TABSET          Public               <zdSecurityGroup>z5075626C6963</zdSecurityGroup>

 A verbose trace using "searchquery" a search using the SecurityGroup = Public criterium shows that the hex-encoded uppercase security group value is used as a search criterion:

>searchquery/7 03.13 10:12:26.745 IdcServer-399 Query by weblogic from lnxecm.be.oracle.com:16200
>searchquery/6 03.13 10:12:26.746 IdcServer-399 preparedQueryText: ( dSecurityGroup <matches> `Public` )
>searchquery/6 03.13 10:12:26.747 IdcServer-399 Setting substr to other operator conv flag: '( dSecurityGroup <matches> `Public` )'
>searchquery/6 03.13 10:12:26.747 IdcServer-399 Parsing universal query: '( dSecurityGroup <matches> `Public` )'
>searchquery/6 03.13 10:12:26.747 IdcServer-399 Processing callback on query value 'Public'
>searchquery/6 03.13 10:12:26.747 IdcServer-399 Converted native query: '( ((z5055424C4943) WITHIN zdSecurityGroup) )'
>searchquery/7 03.13 10:12:26.747 IdcServer-399 assigning connection
>searchquery/6 03.13 10:12:26.748 IdcServer-399 !csMonitorActiveDbConnections,1
>searchquery/6 03.13 10:12:26.748 IdcServer-399 Connection is added to active connections with key of '[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)''.
>searchquery/6 03.13 10:12:26.748 IdcServer-399 query(live): (( ((z5055424C4943) WITHIN zdSecurityGroup) )) [1,20] sort(dInDate Desc)

 

Changes

A (fast or full) collection rebuild was recently done.

Cause

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
Symptoms
Changes
Cause
Solution
References


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