Created
October 3, 2022 22:28
-
-
Save thedoc31/340268aaba09030930e012e691484833 to your computer and use it in GitHub Desktop.
AEM 6.x Package Index
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Below is an index definition you can add to AEM under /oak:index/ntFileLucene so you can efficiently search for old packages | |
# under the entire /etc/packages subtree if you're running up against the 100k node traversal limit. After adding this, | |
# you should have no issues searching/filtering on any of the properties listed. You can add other properties if you | |
# would rather search on those instead. Tested only on 6.5, but might be backward compatible to 6.3 or earlier. | |
# | |
# This index is NOT supported by Adobe Customer Care or Adobe AEM Engineering teams, it's just something I needed. | |
# Add at your own risk and as always, test thoroughly in lower environments before you put it in PROD. | |
{ | |
"compatVersion": 2, | |
"async": "async", | |
"jcr:primaryType": "oak:QueryIndexDefinition", | |
"evaluatePathRestrictions": true, | |
"type": "lucene", | |
"reindex": true, | |
"aggregates": { | |
"jcr:primaryType": "nt:unstructured", | |
"nt:file": { | |
"jcr:primaryType": "nt:unstructured", | |
"include0": { | |
"jcr:primaryType": "nt:unstructured", | |
"path": "jcr:content" | |
}, | |
"include1": { | |
"jcr:primaryType": "nt:unstructured", | |
"path": "jcr:content/vlt:definition", | |
"relativeNode": true | |
}, | |
"include2": { | |
"jcr:primaryType": "nt:unstructured", | |
"path": "jcr:content/vlt:definition/*", | |
"relativeNode": true | |
} | |
} | |
}, | |
"indexRules": { | |
"jcr:primaryType": "nt:unstructured", | |
"nt:file": { | |
"jcr:primaryType": "nt:unstructured", | |
"properties": { | |
"jcr:primaryType": "nt:unstructured", | |
"lastUnwrappedBy": { | |
"name": "lastUnwrappedBy", | |
"propertyIndex": true, | |
"jcr:primaryType": "nt:unstructured", | |
"notNullCheckEnabled": true, | |
"type": "Date" | |
}, | |
"jcrCreatedBy": { | |
"name": "jcr:createdBy", | |
"propertyIndex": true, | |
"jcr:primaryType": "nt:unstructured", | |
"notNullCheckEnabled": true, | |
"type": "String" | |
}, | |
"jcrCreated": { | |
"name": "jcr:created", | |
"propertyIndex": true, | |
"jcr:primaryType": "nt:unstructured", | |
"type": "Date" | |
}, | |
"lastUnpackedBy": { | |
"name": "lastUnpackedBy", | |
"propertyIndex": true, | |
"jcr:primaryType": "nt:unstructured", | |
"notNullCheckEnabled": true, | |
"type": "Date" | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment