Hi @nbg621,
Here’s how your index definition should look:
{
"jcr:primaryType": "oak:QueryIndexDefinition",
"compatVersion": 2,
"type": "lucene",
"async": ["async"],
"evaluatePathRestrictions": true,
"includedPaths": ["/content/dam/folder1/folder2"],
"indexRules": {
"nt:base": {
...