[Lucene] Exception thrown when searching in explore if keyword is AND (OR, NOT) in uppercase

Found in

EPiServer.Find 12.7.1

Fixed in

EPiServer.Find 13.2.0

Created

Jul 13, 2018

Updated

Jun 12, 2019

Area

Explore

State

Closed, Fixed and tested


Description

Precondition:
Install FindCMS on AlloyMVC

1. Go to CMS->Admin and run indexing job.
2. Go to Find/overview/explore.
3. Search with keyword: AND (in uppercase).

Expected:
Matching contents are returned.

Actual:
Can't stop searching and client exception is throw

Note:

  • This issue also happens with OR, NOT (in uppercase)
  • This issue also happens at Find12.7.1
    I guess this issue relates to support for Lucence syntax in searching.