My Oracle Support Banner

Partial querytext search using <CONTAINS> not Returning Result for Metadata Value Containing Underscore (Doc ID 2908439.1)

Last updated on JUNE 12, 2024

Applies to:

Oracle Content Management - Version 22.10.1 and later
Information in this document applies to any platform.
This applies to OCM on OCI Gen 2 only; prior version of OCM use a different underlying search technology.

Symptoms

Partial metadata searches using querytext <CONTAINS> are not returning results where values contain an underscore (e.g. abc_xyz).

For example, the following search returns no results:

 

https://{{host}}/documents/api/1.2/folders/search/items?querytext=Metadata_Collection.Metadata_Field<CONTAINS>`xyz`

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
Cause
Solution


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