QueryConversionException

Hi all

When we try to a "s" search string - (s, space, less, space) in the Web site that we get the error message below:

com.fatwire.cs.core.search.query.QueryConversionException: org.apache.lucene.queryParser.ParseException: cannot parse-': met 'Expressions of folklore <>' at line 1, column 3.

Expected one of:

"(" ...

"*" ...

< CITY... >

< END >...

< PREFIXTERM >...

< WILDTERM >...

"[" ...

"{" ...

< NUMBER >...

< END >...

"*" ...

Even when I tried to search for the string "-"(minus, minus) I won queryconversionexception.ยป

Please someone let me know how to solve this problem and why do we have this error?

Thank you

Chantal

Hello Lawrence,.

Since sites webcenter uses Lucene search, according to the lucene documentation, special characters may not be searched unless it is escaped.

Exhaust for the character you use "\"

So here's the research "-" you must enter--------------------

Here is the link of the lucene documentation which explains the same.

Apache Lucene - Query parser syntax

Kind regards

Sree

Tags: Fusion Middleware

Similar Questions

Maybe you are looking for