Skip to Main Content

Application Development Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Lucene Search Exception

2774045Sep 28 2015 — edited Oct 16 2015

Hi All,

When I am trying to search for string "s - " (s,space,dash,space).I am getting below error.

Please let me know how to handle such exceptions thrown by lucene.

Caught Exception: com.fatwire.cs.core.search.query.QueryConversionException: org.apache.lucene.queryParser.ParseException: Cannot parse 's -': Encountered "<EOF>" at line 1, column 3.

Was expecting one of:

  "(" ...

  "*" ...

  <QUOTED> ...

  <TERM> ...

  <PREFIXTERM> ...

  <WILDTERM> ...

  "[" ...

  "{" ...

  <NUMBER> ...

  <TERM> ...

  "*" ...

Thanks,

Jagadeesh

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 13 2015
Added on Sep 28 2015
2 comments
479 views