Does Apache Lucene suggestions work on OAK 1.0.22? | Community
Skip to main content
salvadorm142499
New Participant
February 22, 2016
Solved

Does Apache Lucene suggestions work on OAK 1.0.22?

  • February 22, 2016
  • 1 reply
  • 684 views

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/oak/jcr/query/SuggestTest.java 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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

I recommend that you watch our GEMs session on Lucene Indexes and other topics that will provide a lot of details. See: http://dev.day.com/gems

1 reply

smacdonald2008
smacdonald2008Accepted solution
New Participant
February 23, 2016

I recommend that you watch our GEMs session on Lucene Indexes and other topics that will provide a lot of details. See: http://dev.day.com/gems