Issues
2 of 2
Lucene Search with ^
Description
Environment
Windows / Linux, tested on 4.5.2 and latest 5.2.7.
Details
Assignee
Michael OffnerMichael OffnerReporter
Michael DiederichMichael DiederichPriority
MinorNew Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Details
Details
Assignee
Michael Offner
Michael OffnerReporter
Michael Diederich
Michael DiederichPriority
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Created 22 June 2018 at 10:18
Updated 13 August 2018 at 17:51
Activity
Show:
Pothys - MitrahSoft26 June 2018 at 15:14Edited
I've added test case for this ticket & confirmed the issue (Cannot parse 'TestWord^s': Lexical error at line 1) happened while using ^ on cfsearch criteria. It escapes for other special characters (Like $,&,*) except ^ this.
Pull request: https://github.com/lucee/Lucee/pull/531
After https://luceeserver.atlassian.net/browse/LDEV-1023#icft=LDEV-1023 is fixed, there is an exception when you search for "^":
{{Cannot parse '': Encountered " "" "^ "" at line 1, column 0.
Was expecting one of:
<NOT> ...
"+" ...
"-" ...
"(" ...
"*" ...
<QUOTED> ...
<TERM> ...
<PREFIXTERM> ...
<WILDTERM> ...
"[" ...
"{" ...
<NUMBER> ...
<TERM> ...
"*" ...}}
Alternative:
Cannot parse 'Test^': Encountered "<EOF>" at line 1, column 5.
Was expecting: (see error message above)
lucee.runtime.search.SearchException