Expand my Community achievements bar.

Native queries - Lucene index

Avatar

Level 4

Hi All

As per the OAK documentation, OAK lucene index supports native queries. Tried to use the example search in CRX query tool.

//*[rep:native('lucene', 'name:(Hello OR World)')]

I see message "No full-text index was found that can process the condition native([a], [lucene], 'name:(Hello OR World)')"

Are there any specific configurations required for using this feature.

Regards.

Sandeep

3 Replies

Avatar

Level 9

Hi Sandeep,

Make sure to update the index defnition with the property functionName ?

Thanks,

Avatar

Level 4

Hi MC_Stuff

Tried with fuctionName property also, its not working

AEM_Native_Query.PNG

Thanks,

Sandeep

Avatar

Level 10

Watch this GEMS session on this subject - it contains a lot of information -- Oak Lucene Indexes