My Oracle Support Banner

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

Last updated on JANUARY 29, 2024

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

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
Goal
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.