My Oracle Support Banner

Search Query issue when using co operator and hyphen (Doc ID 2937144.1)

Last updated on MARCH 23, 2023

Applies to:

Content and Experience Cloud Service - Version 16.2.3 to 20.1.2
Information in this document applies to any platform.

Symptoms

 when doing an asset search using the API, incorrect results are returned if you have a hyphen in the metadata

example

{{baseUrl}}/content/management/api/v1.1/items?offset=0&q=(type eq "Birds" AND
fields.bird_id co "123456-111")

that query will return ALL items with 123456 in the data

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
References


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