Contributor UI Search Error If Search String Contains Special Lucene Syntax Characters (Doc ID 1601945.1)

Last updated on JULY 06, 2017

Applies to:

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

Symptoms

In the Contributor UI search box, searching with a string that contains the ^ char, results in a popup error message.

See the following exception thrown in the log:

com.fatwire.cs.ui.framework.UIException tossed:com.fatwire.services.exception.ServiceException: com.fatwire.cs.core.search.engine.SearchEngineException: com.fatwire.cs.core.search.query.QueryConversionException: org.apache.lucene.queryParser.ParseException: Cannot parse 'ˆ': Encountered " "ˆ" "ˆ "" at line 1, column 0.
Was expecting one of:
   <NOT> ...
   "+" ...
   "-" ...
   "(" ...
   "*" ...
   <QUOTED> ...
   <TERM> ...
   <PREFIXTERM> ...
   <WILDTERM> ...
   "[" ...
   "{" ...
   <NUMBER> ...
   <TERM> ...
   "*" ...

Cause

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