My Oracle Support Banner

Search Results from WebCenter Live Search Returns Results from Other Spaces and Does Not Scope Results as Defined in the Search Scope Parameter. (Doc ID 1554944.1)

Last updated on APRIL 22, 2021

Applies to:

Oracle WebCenter Portal - Version 11.1.1.6.0 to 11.1.1.8.0 [Release 11g]
Information in this document applies to any platform.

Symptoms

On WebCenter 11.1.1.6.6, when Search Taskflow is scoped to search a particular space or current space, the results for Discussions and Space Management are returned from other spaces.

The following test case demonstrates the behavior.

1. Create a space :searchscopespace1

a. create space   searchscopespace1
                  - private
                  - Portal site template
               
b. Manage - Pages : show Documents, Events, Discussions

c.  Upload a document,    d:\temp\searchscopespace1.txt
     Discussions :  Create Topic searchscope1.   and a reply
     Events : searchscope1

2. Create a page: page1  and add Search  or Search Toolbar Task Flow

a. Manage - All settings - Resources -  Resource Catalog
b. Copy Default Space Catalog
c. Show the new copy
d. Edit the copy - Add - Add from Library - Task Flows - Search
e. General tab - Resource Catalog for Pages: select the new copy
f. Create a Page and add Search taskflow


3. Create another space :searchscopespace2

   a. create space   searchscopespace2
                 - private
                 - Portal site template
                 
   b. Manage - Pages : show Documents, Events, discussions              

   c.   Upload  a document,    d:\temp\searchscopespace2.txt
        Discussions :  Create Topic searchscope2.   and reply
        Events : searchscope2

4. Identify the space GUID  ( About - This Space) :  e.g.
      
      searchscopespace1   :   scc0f408b_c98e_4085_aef4_c42192e000ab 
      searchscopespace2   :   s005c043e_d403_4458_9770_256c380321c7


Test 1 - No Search Scope defined

1. Goto  space: searchscopespace1   and Page 1,  
2. In the Search taskflow enter the string:  searchscope

   Results:  Space management:  from both spaces
                  Space event: 
from both spaces
                  Documents: from both spaces
                  Discussions: from both spaces
   
 
Test 2: Search Scope :
searchscopespace2

1. Goto  searchscopespace1,   Page 1 
2. Edit the Page and Search Task flow
3. Search taskflow: Search Scope : s548dba4e_7408_447d_b9eb_26f71d6fcde3  (This is GUID for searchscopespace2)

        The following can also be used: #{spaceContext.space['searchscope2'].metadata.guid}

4. Save the page and Search using string: searchscope
                            
   Results:  Space management: 
from both spaces (Not right)
             Space event: from searchscopespace2 (correct)
             Documents  :
from searchscopespace2 (correct)
             Discussions : from both spaces (Not right)
 
Test 3:
Search Scope : searchscopespace1

1. Goto  searchscopespace1, Page 1
2. Edit the Page and Search Task flow
3. Search taskflow: Search Scope : s709ee4a0_b5e7_4dea_a263_945277960f3f  (
This is GUID for searchscopespace21)

        The following can also be used:

                  #{spaceContext.currentSpaceGUID}  or
                  #{spaceContext.space['searcgscope1'].metadata.guid}

4. Save the page and Search using string: searchscope
                            
   Results:  Space management: 
from both spaces (Not right)
             Space event: from searchscopespace1 (correct)
             Documents  :
from searchscopespace1 (correct)
             Discussions : from both spaces (Not right)
 

Summary:
   Issue seems to be with Space management and Discussions only.

   This issue is not replicated when SES is configured.

 

Changes

 

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.