Getting error with LuceneQueryMapper in Confluence 8

I know this comes late, but if someone else is looking for the answer, you can see my post here: https://community.developer.atlassian.com/t/term-search-that-contains-a-special-character/79296