/[Apache-SVN]
ViewVC logotype

Revision 1735052


Jump to revision: Previous Next
Author: catholicon
Date: Tue Mar 15 10:13:13 2016 UTC (8 years, 1 month ago)
Changed paths: 2
Log Message:
OAK-4126: Sugesstion and spellcheck queries throw exception if result contain lucene query character

Note, I have escaped acl check query for spellcheck too. But, I could not come up with a test case where words with special characters are returned for spellcheck (most probably it requires a custom analzer which doesn't break on special chars... but that seems too much effort to add a test for an obvious fix)

Changed paths

Path Details
Directoryjackrabbit/oak/trunk/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/LucenePropertyIndex.java modified , text changed
Directoryjackrabbit/oak/trunk/oak-lucene/src/test/java/org/apache/jackrabbit/oak/plugins/index/lucene/LuceneIndexSuggestionTest.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26