My Oracle Support Banner

Using A Hyphen In A Search Term Causes Parser Error (Doc ID 887370.1)

Last updated on SEPTEMBER 20, 2023

Applies to:

Oracle WebCenter Content - Version 10.0 and later
Information in this document applies to any platform.

Symptoms

On Content Server version 10.1.3, attempting to Search on a metadata field using <substring> with hyphen in it (Eg:`new product -`) causes a parsing error.

ERROR
----------
Unable to retrieve search results. Parsing error at character 45 in query: "dDocTitle
<substring> `search string -` <AND> dDocType <substring> `Document` <AND>
dSecurityGroup <matches> `Public`"

Steps to reproduce the issue
-----------------------------
1. Navigate to standard search
2. Search using <substring> on any metadata (eg: Title) using hyphen in the middle (eg:
new product -)

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.