/oak-search-gotchas

Demonstrates some Gotchas when implementing Oak Search and Indexing

Primary LanguageJavaApache License 2.0Apache-2.0

Oak Search Gotchas

This project demonstrates some gotchas when using Oak Search & Indexing.

How to build

First you must install the codebase into your local AEM instance.

mvn clean install sling:install

Running the Tests

There are five tests which demonstrate various challenges in defining Oak indexes.

Follow the instructions below to run the tests. Each test is expected to fail until you make the changes described in the test file.

Test 1 - Query by Node Type

Test 2 - Query by Properties

Test 3 - Ordering

Test 4 - Nulls

Test 5 - Permissions