How to Exclude Lucene Search Results where the Keyword Is In Createdby or Updatedby Column (Doc ID 1952681.1)

Last updated on JULY 07, 2017

Applies to:

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

Goal

In a custom Lucene search, how can you filter out search results that match the createdby or updatedby fields, since the DefaultSearchField contains the asset data but also these two fields?

For example, search results should include assets whose name contains "baker" but not those that were simply updated by John Baker.
 

Solution

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms