Hi all,
Did anybody make Apache Lucene suggestions work on AEM 6.0 with Oak 1.0.22 version?
I have follow this link to create the index (which is quite interesting) and it seems my AEM instance is recognizing the lucene-index:
http://www.aemstuff.com/blogs/feb/aemindexcheatsheat.html
And taken from https://github.com/apache/jackrabbit-oak/blob/trunk/oak-lucene/src/test/java/org/apache/jackrabbit/o... the query is:
|
String sql = "SELECT [rep:suggest()] FROM nt:base WHERE [jcr:path] = '/' AND SUGGEST('in 201')"; |
|
I got only one suggestion when the propertyName was 'description' but if I set propertyName to 'foo' with value 'ther is in 201 here'. It does not work.
Any previous experience with something like that?
Thanks, Salva.