public class RelativePathTest extends AbstractQueryTest {
@Override
protected ContentRepository createRepository() {
return new Oak().with(new InitialContent())
.with(new RepositoryInitializer() {
@Override
public void initialize(NodeBuilder builder) {
NodeBuilder index = IndexUtils.getOrCreateOakIndex(builder);
IndexUtils.createIndexDefinition(index, "myProp", true,
false, ImmutableList.<String>of("myProp"), null);